adobe dreamweaver
新建html文档。
书写hmtl代码。
Clicere.
书写css代码。body { color: #444; font-family: Tahoma, Geneva, sans-serif; font-size: 13px; padding: 0px; margin: 0px; }h1 { text-align: center; }.hl { color: red; }.top-line { margin-top: 0px; color: black; border-color: black; border-bottom-width: 0px; }.container { margin-top: 30px; }.inner-wrap { width: 960px; margin-right: auto; margin-left: auto; }.tabs ul { list-style: none; padding: 0; margin: 0; }.tabs li { float: left; border: 1px solid #bbb; border-bottom-width: 0; margin: 0; }.tabs li a { text-decoration: none; display: block; background: #eee; padding: 0.24em 1em; color: #00c; width: 8em; text-align: center; }.tabs .selected { border-color: black; }.tabs .selected a { position: relative; top: 1px; background: white; color: black; font-weight: bold; }.header { text-align: center; }.header h2 { color : #aaa; }.demo { padding-bottom: 10px; padding-top: 34px; background-color: #f5f5f5; border-top: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); }.apiDocTable { width: 100%; border: 1px solid black; border-collapse: collapse; }.timeline-content { text-align: center; }.timeline-content img { height: 200px; margin-left: auto; margin-right: auto; }.clear:before, .clear:after { content: ' '; display: table;}.clear:after { clear: both; }.clear { *zoom: 1;}.button { background: url(../images/buttons.png) no-repeat 0 0; width: 255px; height: 42px; cursor: pointer; display: block; }.button-direct-download { background-position: 0px 0px; }.button-direct-download:hover { background-position: 0px -45px; }.button-github { background-position: 0px -90px; }.button-github:hover { background-position: 0px -135px; }.footer { background-color: #cccccc; min-height: 50px; margin-top: 20px; padding-top: 20px; border-top: 2px solid #999999; }.top-bar { background-color: #2C3435; height: 40px; }.top-bar a { text-decoration: none; }.top-bar a:hover { background-color: transparent; }.wrap { width: 960px; margin-left: auto; margin-right: auto; }.gt-timeline { position: relative; width: 960px; height: 100px; border: 0px solid red; font-family: 'Helvetica Neue', Helvetica, Arial, serif; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); color: #6d6d6d; margin-left: auto; margin-right: auto; }.gt-timeline div.main_line { border: none; border-top: 3px solid #666666; clear: both; height: 0; width: 100%; position: absolute; top: 50px; left: 14px; z-index: 0; }.gt-timeline div.event { background: url(../images/main_img.png) no-repeat 0 -84px; width: 16px; height: 16px; cursor: pointer; position: absolute; z-index: 2; top: 44px; }.gt-timeline div.e-message { background-color: #666666; position: absolute; top: 70px; color: white; }.gt-timeline div.e-message .msg { padding: 5px; font-size: 10px; text-shadow: 0 0 0; cursor: pointer; z-index: 100; position: relative; }.gt-timeline div.e-message .msg:hover { background-color: blue; }.gt-timeline div.e-message .info { padding: 5px; font-size: 11px; text-shadow: 0 0 0; cursor: auto; z-index: 100; position: relative; font-weight: bold; border-bottom: 1px dashed #999999; position: default; }.gt-timeline div.e-message .message-pointer { background: url(../images/main_img.png) no-repeat 0 -122px; width: 14px; height: 18px; position: absolute; top: -11px; z-index: 1; }.gt-timeline .icon-close { background: url(../images/main_img.png) no-repeat -3px -227px; background-color: #999999; width: 14px; height: 14px; position: absolute; top: 5px; right: 7px; cursor: pointer; }.gt-timeline div.event:hover { background-position: -27px -84px; }.gt-timeline div.horizontal-line { border: 0px; border-left: 3px solid #666666; clear: both; height: 20px; width: 0px; position: absolute; z-index: 1; top: 30px; }.gt-timeline div.leftend { left: 14px; }.gt-timeline div.rightend { right: 0; }.gt-timeline .leftend .year { position: relative; text-align: center; top: -30px; left: -15px; }.gt-timeline .leftend .month { position: relative; text-align: center; top: -32px; left: -11px; }.gt-timeline div.month-line { height: 15px; border-left: 2px solid #666666; }.gt-timeline div.even-month { top: 37px; }.gt-timeline div.even-month .month { position: relative; top: -18px; left: -10px; }.gt-timeline div.odd-month { top: 41px; height: 10px; border-left: 1px solid #999999; }.gt-timeline .year, .gt-timeline .month { font-size: 12px; }.gt-timeline .year { font-weight: bold; }
书写并添加js代码。
代码整体结构。
查看效果。
- 1
jquery时间表样式历程说明
- 2
过期的牛奶不要扔,简单处理来浇花,枝繁叶茂
- 3
汽车前束怎么调整?
- 4
DNF地下城童话妖精养成玩法小攻略
- 5
阿特兹换挡拨片教程
- 6
万宇热血传奇武器升级攻略
- 7
父母在保护孩子视力的误区都有哪些?如何纠正?
- 8
逆战如何开出永久极品宝箱
- 9
马里奥赛车8方向盘怎么用
- 10
古剑奇谭ol寻宝攻略
- 11
怎样高效完成一天的待办事项
- 12
倩女幽魂6开打宝做活动攻略
- 13
dnf探险记获得的远古黄金增幅书最多增幅到多少
- 14
怎么买衣服知道怎么搭配?怎么学会搭配衣服?
- 15
大话西游2攻略种植流程
- 16
运动会小国旗如何摆放
- 17
宝宝12个月的成长日记(新妈妈必备)
- 18
dnf阳光少女怎么玩
- 19
雷霆战机宠物碎片有什么用/怎么获得
- 20
魔兽怀旧制皮攻略
- 21
明日方舟使用演习券完成作战任务怎么完成