HTML and CSS Reference
In-Depth Information
In the CSS box
model, the content
box contains the
content of the
The bor d er box
contains t he
content and
padding a s well
as the bo x border.
The padding box
contains the space
directly around the
content but within
the element box.
A margin separates
the box from other
elements on the page.
The background p roperty defines the
element backgrou n d by specifying
the source of the image file, the
location of the background image,
and the direction in which the
background image is repeated.
The background-origin
property specifies where the
background image originates;
the default is border-box.
The background-size
property specifies the size of
the background image.
Search WWH ::

Custom Search