Step-By-Step Programming For Beginners
On a small viewport (less than 768px window width), the left menu will be hidden, but can be shown by swiping left to right, or toggling the button in the top left of the header. On a large viewport (greater than or equal to 768px), the left menu will stay open.
Using large as the attribute's value is an alias to (min-width:768px) since it is the most common use-case. However, for added flexibility, any valid media query could be added as the value, such as (min-width:600px) or even multiple queries such as (min-width:750px) and (max-width:1200px).
large
(min-width:768px)
(min-width:600px)
(min-width:750px) and (max-width:1200px)
No comments:
Post a Comment