Not getting the layouts in proper format | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Not getting the layouts in proper format

I got an assignment from Coursera to create a webpage like this And when the size of the device changes between 768px and 991px, the webpage should look like this And when the size falls below 768px, it should look like this NOW I am able to get the layout like the first image and third image but not like the second image. Can you tell me what am I doing wrong? This is the first time, I am creating a responsive model so the code might contain unnecessary lines(according to you), so it would be very helpful if you could also suggest something. This is my code

22nd Jul 2020, 1:54 PM
AYUSH GUPTA - avatar
1 Antwort
+ 6
try using the div class=ÔÇťcontainerÔÇŁ adds spacing and margin and allows it to be more responsive also use the inspect tool on chrome to check ur css to make sure its not over riding some of bootstaps margin and padding styles and if that doenst work use a screen query...if ur unfamiliar with the way they work look here:
22nd Jul 2020, 2:03 PM
toto - avatar