What is the CSS property that is used to set dimensions and styles for phones and computers screens? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the CSS property that is used to set dimensions and styles for phones and computers screens?

set styles for different resolution platform

3rd Jan 2018, 3:47 PM
Ahmed Saleh Alsayadi
Ahmed Saleh Alsayadi - avatar
1 Answer
+ 1
@media screen and (max-width:XXXpx){ } change the XXX to desired pixel size and write the styling in the block
3rd Jan 2018, 3:53 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar