LEARN RESPONSIVE DESIGN
Sizing elements
Pixels are used to size content to exact dimensions(px).
create relatively-sized content is the em, written as
em
in CSS.
The second relative unit of measurement in CSS is the rem, coded as
rem
. min-width
— ensures a minimum width for an element
.
max-width
— ensures a maximum width for an element.
No comments:
Post a Comment