DEV Community

Discussion on: Build your Responsive website without media query

Collapse
 
afif profile image
Temani Afif • Edited

We cannot really stop using media queries but you can reduce them a lot especially when it comes to sizing. A lot of developers write many media queries to only update the number of columns or to switch from an horizontal to a vertical layout. Using my technique you can now avoid this.

The article is a kind of "think outside of the box" to show everyone that media query shouldn't be used automatically especially that now CSS has a lot of new features that can achieve complex things with few lines of code.

Collapse
 
ravavyr profile image
Ravavyr

Well done, my first reaction was "oh come on, you can't do sites without media queries; on real projects there are just too many pieces to do that without a lot of headaches".

As an experiment and proof of concept this is really neat though, nicely done. :)

Some comments have been hidden by the post's author - find out more