DEV Community


Discussion on: First Profile Site

patarapolw profile image
Pacharapol Withayasakpunt

Yes, currently margin-left and right is 15%. It can easily be 0 on mobile, but 15% on desktop.

You might use media-query.

Do you know that you can preview mobile-like on Chrome DevTools as well?

Thread Thread
aaronmccollum profile image
Aaron McCollum Author

I didn't know you could preview it there! I have been using Codepen to do previewing and adjusting the browser size to watch media query changes happen. I've been learning Chrome DevTools through my JavaScript class (separate from FCC) but have only used the console so far.

Forem Open with the Forem app