min-width or max-width which one should i use to make website responsive?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

min-width or max-width which one should i use to make website responsive??

can i declare width and min-width the same time??

10th Aug 2016, 6:51 PM
Arjun c Nandan
Arjun c Nandan - avatar
4 Answers
+ 1
Use min-width. Yes you can.
12th Aug 2016, 9:53 AM
Сережа Валера
Сережа Валера - avatar
+ 1
DDD i
12th Aug 2016, 9:01 PM
Kevin
+ 1
Both. Max to either 100℅ or desired pixel. Min to the smallest amount you want it to shrink
21st Aug 2016, 10:50 PM
Krystal
Krystal - avatar
+ 1
min-width
27th Aug 2016, 9:15 AM
Kahuma Solomon
Kahuma Solomon - avatar