adobe dreamweaver
准备好需要用到的图标字体。
新建html文档。
书写hmtl代码。
书写css代码。.codrops-demos { margin: 2em 0 0; }.codrops-demos a { display: inline-block; margin: 0 0.5em; }.codrops-demos a.current-demo { color: #333; }/* Content */.content { padding: 3em 0; }.row { display: -we bkit-flex; display: flex; -we bkit-flex-direction: row; flex-direction: row; padding: 0 2em; }.box { width: 50%; border: 10px solid #f9f9f9; background: #fff; display: -we bkit-flex; display: flex; -we bkit-justify-content: center; justify-content: center; -we bkit-align-items: center; align-items: center; }.box:last-child { background: #E8EBEC; -we bkit-justify-content: flex-start; justify-content: flex-start; }.box--centered { text-align: center; }pre { padding: 0 2em; margin: 0; color: #436843; tab-size: 2; font-family: 'Inconsolata', monospace; line-height: 1.5; font-weight: bold; font-size: 0.85em; }/* Download button style */.Download { display: inline-block; width: 300px; height: 120px; }/* Top Navigation Style */.htmleaf-links { position: relative; display: inline-block; white-space: nowrap; font-size: 1.5em; text-align: center; }.htmleaf-links::after { position: absolute; top: 0; left: 50%; margin-left: -1px; width: 2px; height: 100%; background: #dbdbdb; content: ''; -we bkit-transform: rotate3d(0, 0, 1, 22.5deg); transform: rotate3d(0, 0, 1, 22.5deg); }.htmleaf-icon { display: inline-block; margin: 0.5em; padding: 0em 0; width: 1.5em; text-decoration: none; }.htmleaf-icon span { display: none; }.htmleaf-icon:before { margin: 0 5px; text-transform: none; font-weight: normal; font-style: normal; font-variant: normal; font-family: 'icomoon'; line-height: 1; speak: none; -we bkit-font-smoothing: antialiased; }
书写并添加js代码。
代码整体结构。
查看效果。
- 1
js+jQuery弹性滑动动画进度条特效
- 2
如何预防肺炎?【最简单有效的方法】
- 3
儿童肺炎的早期症状是什么?
- 4
五步教你判断孩子是不是得了肺炎
- 5
肺炎的饮食调理
- 6
肺炎的并发症
- 7
间质性肺炎的症状及对人体危害有哪些?
- 8
咳嗽久了就会成肺炎?这是真的吗?
- 9
肺炎吃什么好?3类食物要吃好
- 10
肺炎都有那些症状
- 11
砭石调理肺炎4步法~赶紧收藏
- 12
急性肺炎的救治方法
- 13
治疗肺炎小验方
- 14
国家助学贷款还款如何开具电子回单?
- 15
学会理财,投资理财的一些看法
- 16
汇富宝借款流程
- 17
白领应该如何投资理财
- 18
个人工资贷款申请条件
- 19
2017年一季度资金面总体趋紧 债市或将继续震荡
- 20
首次申请创业贷款要怎样申请?
- 21
如何提高贷款的成功率?
