CSS Sass Basics Write Smart and Efficient CSS with Sass Nesting Media Queries

Sean Flanagan
Sean Flanagan
33,221 Points

Did I do this right?

Hi.

At the end of the video, Guil invited us to nest our media queries and change the pixel values to breakpoint variables.

I gave this a shot. Have I done this right?

Here's a snapshot of my workspace:

https://w.trhou.se/pvwzjt056y

Thanks, merry Christmas and happy New Year!

Sean

2 Answers

Kristóf Dombi
Kristóf Dombi
24,396 Points

Sean Finegan it seems like to me, that you have done this task right. I only looked into the _containers.scss file. Were there media quries somewhere else as well?

Kristof

Sean Flanagan
Sean Flanagan
33,221 Points

To be honest, so much time has passed since I posted here that I've forgotten. There's a media query in _images.scss.

Thanks for your help.

Sean

Kristóf Dombi
Kristóf Dombi
24,396 Points

Sean Flanagan, sorry I haven't been logged in for a while.