Claudia Chiriță . 2026/2027
column-count: number of columns;
column-width: the size of a column;
column-gap: the space between columns
column-span: how many columns an element is occupying;
column-rule: the style of the line diving the columns;
/* shorthand column-rule: column-rule-style
column-rule-width column-rule-color */
media type: screen, print, speech
media features: width, height, max-height, max-width,
orientation, resolution, aspect-ratio
media query syntax:
media type and (med-feature1:val) and (med-feature2:val)...
<head>
</head>
@media media-query1, media-query2 { }
example:
@media screen and (max-width: 960px) and (min-width: 500px)
{
body { background-color: pink; }
}
and, only, not, and ","
<head>
</head>
tells the browser that the page should be scaled
to fit the screen size