. Fuwo{Display:Block;//Use two spaces to represent indents instead of using the TAB key font-family:' Arial ';//String wrapped in quotation marks background:url ('/images/bg.jpg ');//url Better also wrap them in quotation marks opacity:0.5;//When the number is less than 1 o'clock, you should write 0 before the decimal point. Never show 0 of the trailing of decimals}$length: 0; When the length is defined, 0 is not required to add unit $value:5; $length: $value * 1px;//When adding a unit to a number, it is actually in the value of 1 units $value: $length/1px; /To delete a unit of value, divide by 1 units of the same type. FUWO{width:(100%/3);//The top-level operation should always be wrapped in parentheses in color:rgba (0, 0, 0, 0.1);//using HSL values or RGB values, a space is appended to the usual comma, instead of adding spaces between the parentheses and the value background:HSL (100%, 100%);}$main-theme-color: #c69;//When a color is called more than once, it is best to save it with a meaningful variable name
Scss Style Guide Learning notes (i)