Created
December 16, 2021 13:14
-
-
Save Uvacoder/4b13fd2849e5de547f4ecc3bddafc5a4 to your computer and use it in GitHub Desktop.
How to group and order CSS properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .selector { | |
| /* Positioning */ | |
| position: absolute; | |
| z-index: 10; | |
| top: 0; | |
| right: 0; | |
| /* Display & Box Model */ | |
| display: inline-block; | |
| overflow: hidden; | |
| box-sizing: border-box; | |
| width: 100px; | |
| height: 100px; | |
| padding: 10px; | |
| margin: 10px; | |
| border: 10px solid #333; | |
| /* Color */ | |
| background: #000; | |
| color: #fff | |
| /* Text */ | |
| font-family: sans-serif; | |
| font-size: 16px; | |
| line-height: 1.4; | |
| text-align: right; | |
| /* Other */ | |
| cursor: pointer; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment