ExamBank Scot · AH Computing Science question bank · All AH Computing Science questions
1 mark · CSS media queries
The GrowPlants website provides information for gardeners about plant care and the identification of plants. The CSS used to display the site content includes the following media query. @media only screen and (max-width: 600px) {} Explain the purpose of this media query.
This code is triggered when the width of the screen is less than or equal to 600 pixels to apply styles suitable for a smaller screen. 1 mark for description of the media query with reference to screen size.