add CSS style

This commit is contained in:
Jannik Beyerstedt 2020-04-08 20:29:58 +02:00
parent 563152732d
commit 6bf576f1cc
2 changed files with 34 additions and 0 deletions

View File

@ -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
View 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
```