Css. Block model
margin
border
padding
content
margins by horizontal added, by vertical joined
margin
border
padding
content
margins by horizontal added, by vertical joined
BLOCK AND ELEMENT
Blocks can be inside blocks infinite times
<div class = «block»> <div class = «block__element»> </div> <div class = «anotherBlockInside»> <div class
.myClassLeft { float: left width: 33 % } .myClassRight { float: right width: 33 % } myClassNone { float: none }
to display on different devices
WHEN CONNECT CSS FILES
<link href=»css/small.css» rel=»stylesheet» media=»(max-width:480px)»> <link href=»css/large.css» rel=»stylesheet» media=»(min-width:769px)»> <link href=»css/medium.css» rel=»stylesheet» media=»(min-width:481px) and (max-width:768px)»> // import