12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // @import url(reset.css);
- @import './reset.scss';
- $aa:#ff0;
- $box:50px !default;
- $box1:20px !global;
- @mixin vase {
- border: 1px solid #f00;
- color: purple;
- width: 200px;
- height: 100px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .box {
- width: 800px;
- height: 800px;
- border: 1px solid #000;
- background-color: $aa;
- font-size: $box;
- font-size: $box1;
- h1 {
- font-size: $box1;
- color: red;
- }
- .main {
- @include vase;
- color: #00f;
- &:hover {
- color: #f00;
- }
- }
- }
- // .main::after {
- // content: '放假了';
- // color: #f00;
- // }
- // 今天天气真好
- /*
- 哈哈哈哈
- */
|