add CSS style
This commit is contained in:
parent
563152732d
commit
6bf576f1cc
|
@ -10,6 +10,7 @@ Individual style guides are available in other files for:
|
|||
- [C/C++](Style-Cpp.md)
|
||||
- [Python](Style-Python.md)
|
||||
- [PHP](Style-PHP.md)
|
||||
- [HTML and CSS](Style-HTML_CSS.md)
|
||||
|
||||
Also see my project dotfiles and templates in: https://git.beyerstedt.de/jannik/templates-project_setup
|
||||
|
||||
|
|
33
Style-HTML_CSS.md
Normal file
33
Style-HTML_CSS.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Coding Style for HTML and CSS
|
||||
|
||||
TODO
|
||||
|
||||
|
||||
## Order of CSS/SASS Properties in a CSS-Selector
|
||||
|
||||
```
|
||||
visibility
|
||||
opacity
|
||||
box-sizing
|
||||
float
|
||||
position (including positioning properties like: top, left, ...)
|
||||
height (including max-height, min-height)
|
||||
width (including max-width, min-width)
|
||||
padding
|
||||
margin
|
||||
overflow
|
||||
|
||||
z-index
|
||||
|
||||
font-family
|
||||
font-size
|
||||
line-height
|
||||
font-weight
|
||||
font-style
|
||||
text-transform
|
||||
text-decoration
|
||||
|
||||
background
|
||||
color
|
||||
border
|
||||
```
|
Loading…
Reference in a new issue