作者:LoveEmperor_王子様

demo.css

@font-face {
font-weight: normal;
font-style: normal;
font-family: 'codropsicons';
src:url('../fonts/codropsicons/codropsicons.eot');
src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
url('../fonts/codropsicons/codropsicons.woff') format('woff'),
url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}

@font-face {
font-family: 'linecons';
src:url('../fonts/linecons/linecons.eot?-kux0c3');
src:url('../fonts/linecons/linecons.eot?#iefix-kux0c3') format('embedded-opentype'),
url('../fonts/linecons/linecons.woff?-kux0c3') format('woff'),
url('../fonts/linecons/linecons.ttf?-kux0c3') format('truetype'),
url('../fonts/linecons/linecons.svg?-kux0c3#linecons') format('svg');
font-weight: normal;
font-style: normal;
}

.icon:before {
font-family: 'linecons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
font-size: 2em;
display: inline-block;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-search:before {
content: "\e600";
}
.icon-settings:before {
content: "\e601";
}
.icon-bulb:before {
content: "\e602";
}
.icon-mail:before {
content: "\e603";
}
.icon-paperplane:before {
content: "\e604";
}
.icon-megaphone:before {
content: "\e605";
}
.icon-calendar:before {
content: "\e606";
}

*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

html, body {
height: 100%;
}

body {
background: #27ae60;
color: #f5f3ec;
font-weight: 400;
font-size: 1em;
line-height: 1.25;
position: relative; z-index: 1;
font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
}

a, button {
outline: none;
}

a {
color: rgba(0,0,0,0.5);
text-decoration: none;
}

a:hover, a:focus {
color: #fff;
}

.container {
min-height: 100%;
}

.color-2 { background: #729DBF; }
.color-3 { background: #72BF7B; }
.color-4 { background: #484860; }
.color-5 { background: #7772BF; }
.color-6 { background: #B3BF72; }
.color-7 { background: #72BFB9; }
.color-8 { background: #BFA372; }
.color-9 { background: #6cc1ed; }
.color-9 { color: rgba(0,0,0,0.6); }
.color-10 { background: #00cfbe; }
.color-11 { background: #00a2d3;}

section {
padding: 1em;
text-align: center;
}

/* Header */
.codrops-header {
margin: 0 auto;
padding: 0 2em 0em;
text-align: center;
}

.codrops-header h1 {
margin: 0;
font-size: 3.5em;
line-height: 1.3;
}

.codrops-header h1 span {
display: block;
padding: 0.4em 0 0.6em 0.1em;
font-size: 46%;
font-weight: 300;
opacity: 0.7;
}

/* To Navigation Style */
.codrops-top {
width: 100%;
text-transform: uppercase;
font-weight: 700;
font-size: 0.69em;
text-align: center;
padding: 2em 0;
}

.codrops-top a {
display: inline-block;
padding: 1.5em;
text-decoration: none;
letter-spacing: 1px;
}

.codrops-icon:before {
margin: 0 4px;
text-transform: none;
font-weight: normal;
font-style: normal;
font-variant: normal;
font-family: 'codropsicons';
line-height: 1;
speak: none;
-webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
content: "\e001";
}

.codrops-icon-prev:before {
content: "\e004";
}

/* Demo Buttons Style */
.codrops-demos {
padding-top: 1em;
font-size: 0.8em;
}

.codrops-demos div {
margin-left: 90px;
padding-bottom: 1em;
}

.codrops-demos a {
display: inline-block;
margin: 0.35em 0.1em;
padding: 0.35em 0.9em 0.35em;
outline: none;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
background: rgba(255,255,255,0.3);
color: #fff;
border-radius: 2px;
font-size: 110%;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo {
background: rgba(0,0,0,0.2);
}

.codrops-demos h3 {
margin: 0;
padding: 1em 0 0.5em 0;
font-size: 0.9em;
float: left;
min-width: 90px;
clear: left;
}

.codrops-demos div:not(:first-child) h3 {
padding-top: 2em;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo {
color: inherit;
border-color: initial;
}

/* Main content */
.main {
max-width: 69em;
margin: 0 auto;
padding: 3% 0 10%;
}

.column {
float: left;
width: 50%;
padding: 0 2.5em;
min-height: 200px;
position: relative;
}

.column:first-child {
box-shadow: inset -1px 0 0 rgba(0,0,0,0.1);
text-align: right;
}

.column p {
font-weight: 300;
font-size: 1.8em;
padding: 0 0 0.5em;
margin: 0;
line-height: 1.5;
}

.column p.small {
font-size: 1em;
padding: 0.75em 0 1em;
font-weight: 700;
line-height: 1.2;
}

.progress-button {
position: relative;
display: inline-block;
padding: 0 3em;
outline: none;
border: none;
color: #fff;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 1px;
font-size: 1em;
z-index: 50;
line-height: 4;
overflow: hidden;
border-radius: 5px;
background: rgba(0,0,0,0.2);
}

.progress-button .content {
position: relative;
display: block;
z-index: 10;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
}

.progress-button .progress {
position: absolute;
left: 0;
background: rgba(0,0,0,0.2);
top: 0;
width: 0%;
opacity: 0;
height: 100%;
z-index: 0;
-webkit-transition: width 0s 0.3s, opacity 0.3s;
transition: width 0s 0.3s, opacity 0.3s;
}

.progress-button.active .progress {
opacity: 1;
width: 100%;
-webkit-transition: width 1.2s;
transition: width 1.2s;
}

/* Related demos */
.related {
clear: both;
padding: 5em 0 8em;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.related p {
font-size: 1.5em;
font-weight: 700;
}

.related > a {
border: 2px solid black;
border-color: initial;
display: inline-block;
text-align: center;
margin: 20px 10px;
padding: 25px;
border-radius: 5px;
}

.related a img {
max-width: 100%;
opacity: 0.8;
}

.related a:hover img,
.related a:active img {
opacity: 1;
}

.related a h3 {
margin: 0;
padding: 0.5em 0 0.3em;
max-width: 300px;
text-align: left;
}

@media screen and (max-width: 46.5em) {
.column {
width: 100%;
min-width: auto;
min-height: auto;
padding: 2em; 
font-size: 90%;
}

.column:first-child {
text-align: center;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
}

@media screen and (max-width: 25em) {

.codrops-header h1 {
font-size: 2.5em;
}

.codrops-top a {
font-size: 1.6em;
border: 2px solid black;
border-color: initial;
padding: 0.5em;
border-radius: 3px;
}

.codrops-icon span {
display: none;
}

}

css-alert-demo相关推荐

  1. css sprites demo

    CSS Sprites are the preferred method for reducing the number of image requests. Combine your backgro ...

  2. css常用demo练习

    1.横向弹性布局,溢出的部分换行 flex布局实现不同分辨率屏幕显示效果不同,"自适应布局" (flex-flow是flex-direction和flex-wrap的复合属性) d ...

  3. 时间轴CSS的Demo

    一.CSS代码(HTML5支持) /*time-line.css*/.timeline {position: relative;padding: 20px 0 20px;list-style: non ...

  4. HTML+CSS学习demo合集

    HTML案例-招聘 <!DOCTYPE html> <html lang="en"> <head><meta charset=" ...

  5. css 3D Demo

    <!DOCTYPE html> <html>     <head>         <meta charset="utf-8">   ...

  6. css hack 学习总结

    css hack CSS hack由于不同厂商的浏览器,比如Internet Explorer,Safari,Mozilla Firefox,Chrome等,或者是 同一厂商的浏览器的不同版本,如IE ...

  7. 再谈 CSS 预处理器

    CSS 预处理器是什么?一般来说,它们基于 CSS 扩展了一套属于自己的 DSL,来解决我们书写 CSS 时难以解决的问题: 语法不够强大,比如无法嵌套书写导致模块化开发中需要书写很多重复的选择器: ...

  8. ie6,ie7,ie8 css bug兼容解决记录

    断断续续的在开发过程中收集了好多的bug以及其解决的办法,都在这个文章里面记录下来了!希望以后解决类似问题的时候能够快速解决 ,也希望大家能在留言里面跟进自己发现的ie6 7 8bug和解决办法! 1 ...

  9. html面试题(一)--html css js

    前端面试题汇总 一.HTML和CSS 1.你做的页面在哪些流览器测试过?这些浏览器的内核分别是什么? IE: trident内核 Firefox:gecko内核 Safari:webkit内核 Ope ...

  10. HTML CSS杂记

    之html (超文本标记语言)css (层叠样式表)杂记 ----------------------------------------------------------------------- ...

最新文章

  1. python怎么打包压缩文件_Python打包文件夹的方法小结(zip,tar,tar.gz等)
  2. windoes windoes server 上安装mysql(MSI安装包安装、压缩包安装)
  3. mac 下launchpad超级慢的问题
  4. 众筹网站系统源码+手机端
  5. jsp+mysql汽车维修管理系统的设计与开发_基于JSP+MySQl的计算机学院设备报修管理系统.doc...
  6. 越权操作(文件读取漏洞)
  7. QT_继承ApplicationWindow控件的C++与QML交互
  8. bootstrap的三角方向符号实现
  9. linux访问samba命令,smbclient命令
  10. Hbase+JAVAWeb实现超市仓库管理系统
  11. Perl教程-3.基础语法
  12. 高级计算机器,高级计算器最新版
  13. Parsing error: No Babel config file detected for ....
  14. PDF技术(三)-Java实现图片转PDF文件
  15. python math模块
  16. 其实英语实在太简单了
  17. zepoto.js的使用
  18. Effective-Java 检查参数有效性
  19. 角速度与旋转矩阵的转换关系及思考
  20. caj文件打不开显示内存不足_面向大数据的高效存储容量缩减技术研究

热门文章

  1. 【软件工程师学硬件】之 继电器
  2. 怎么在markdown中使用上标、下标?
  3. 【Gazebo入门教程】第五讲 控制器插件的编写与配置(上)
  4. 说话声音测试年龄软件叫什么名字,抖音上很火的一个讲师,年龄挺大了,说话很有意思,叫啥来着...
  5. .dylib文件扩展名,.dylib文件如何打开?
  6. windows 8.1 下91手机助手解决方案
  7. 大数据处理技术导论(8) | Datawhale组队学习46期
  8. 利用python批量化音乐文件格式转换
  9. 苏嵌实训——day11
  10. 计算机基础知识学员评价,大学计算机基础课程评价的模式的探讨.doc