浮动菜单 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>用ul li来实现浮动菜单</title> 6 <style type="text/css"> 7 .menu { 8 width ...
分类:
其他好文 时间:
2019-01-04 17:25:29
阅读次数:
143
1 引入 如果想要用到BootStrap提供的js插件,那么还需要引入jQuery框架,因为BootStrap提供的js插件是依赖于jQuery的 <link type="text/css" rel="stylesheet" href="../css/bootstrap.css"> <script ...
分类:
编程语言 时间:
2019-01-02 00:04:10
阅读次数:
205
<! 漂浮--> <style type="text/css"> img{border:0;} </style> <SCRIPT type=text/javascript> function addEvent(obj,evtType,func,cap){ cap=cap||false; if(obj ...
分类:
Web程序 时间:
2018-12-27 18:20:04
阅读次数:
159
<style type="text/css"> body { background-color: #ececec; } .d1 { text-align: center; position: relative; height: 200px; } .d2 { position: absolute; t ...
分类:
其他好文 时间:
2018-12-27 13:33:23
阅读次数:
159
1、 Ver是页面定义的变量 2、 asp.net 页面定义为 <link href="/company/them/page.css?v=<%=Ver%>" rel="stylesheet" type="text/css" /> 输出结果为 <link href="them/page.css?v=& ...
分类:
Web程序 时间:
2018-12-26 12:24:47
阅读次数:
169
1 <html> 2 <head> 3 <meta charset="utf-8"> 4 <title>Checkbox的练习</title> 5 <style type="text/css"> 6 *{margin:0px;padding:0px;} 7 table{width:100%;text ...
分类:
其他好文 时间:
2018-12-17 20:14:59
阅读次数:
219
常用标签的使用: 直接举例: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>常用标签的使用</title> <style type="text/css"> .img{ /*根据需求,是指定高还是指定宽,设置一个,另一个会等比缩 ...
分类:
其他好文 时间:
2018-12-16 11:09:28
阅读次数:
108
目标:利用canvas画布画一个动态时钟,根据目前的时间可以实时更新的,可以在过程中添加一些效果,比如让时钟外围的一圈颜色渐变,时钟上的数字颜色改变,时钟的指针颜色改变。。。 设置一个定时器 先放上一张效果图,参考一下 先建一个画布,写好样式 <style type="text/css"> *{ m ...
分类:
其他好文 时间:
2018-12-15 13:39:46
阅读次数:
131
<style type="text/css"> html, body { margin: 0px; padding: 0px; width: 100%; height: 100%; font-family: "微软雅黑"; font-size: 62.5%; } .boxDom { width: 1 ...
分类:
其他好文 时间:
2018-12-11 20:22:50
阅读次数:
201
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title>柱状图</title> <style type="text/css"> canvas { border: 1px solid #000; } </style> </head> < ...
分类:
其他好文 时间:
2018-12-10 20:58:35
阅读次数:
217