@charset "UTF-8"; /* sass使用 $ 符号来标识变量 */ /*! sass有作用域 */ /* 多行注释 会在css文件里生成 但是不会再min.css文件里生成 单行注释 不会在css文件里生成 强制注释 会在css和min.css文件里生成 */ /* 插值语句 变量 属性名如果是变量可以使用这种 一般 不建议这么操作 */ div { width: 100px; height: 100px; background: #ff0000; color: #ff0000; } div2 { width: 200px; height: 200px; background: #ff0000; } #list { width: 100px; height: 100px; } #list li { font-size: 12px; } #list li p { padding-top: 20px; padding-left: 40px; } #list-inner { color: #ff0000; } .link { color: #ff0000; } .link:hover { color: #ccc; } .login-btn { width: 100px; height: 40px; line-height: 40px; text-align: center; border-radius: 5px; color: #000000; background: #ff0000; } .submit-btn { width: 50px; height: 30px; line-height: 100px; text-align: center; border-radius: 5px; color: #000000; background: #ff0000; } .del-btn { width: 200px; height: 100px; line-height: 100px; text-align: center; border-radius: 5px; color: #000000; background: #ff0000; } .wrapper, .wrapper .inner, #main { width: 100px; height: 30px; font-size: 10px; } .wrapper .inner, #main .inner { padding: 20px; } .wrapper .inner p, #main .inner p { color: #ff0000; } #main { margin: 10px; } .content { width: 30%; } .last { width: 8; } div { width: 80px; border-top: 1px solid #000; } section { border-bottom: 1px solid #000; } p { color: blue; } li { font-size: 12px; } .list-1 { width: 100px; } .list-2 { width: 200px; } .list-3 { width: 300px; } .none-1 { width: 100px; } .none-2 { width: 200px; } .content-red { color: red; } .content-blue { color: blue; } .content-pink { color: pink; } .content-green { color: green; } .none_3 { width: 6px; } .none_2 { width: 4px; } .none_1 { width: 2px; }