Normal css or bootstrap? How do you make your images responsive? How to best do a mobile first approach
Tawakalt
@Lahitan
All comments
- Tawakalt• 120
@Lahitan
Posted
Hi
In my little suggestion.
-
Insert the two images(desktop and mobile images) in the html
-
The mobile image with a class should be hidden when writing the CSS ( .image class { display: hidden;}
-
Then can use media query @ a particular media screen you You hide the desktop imge and then make the mobile view visible using ( display: block;)
You did a good job👍 Keep practicing
Marked as helpful
0 -