Using JavaScript's window.matchMedia() and CSS media queries.
This method is more reliable than depending on the navigator.userAgent property.
Back to Tutorial
Back to Top
Hi, I’m Vincy. I help build websites, and grow your business. If you have a project that you want to get started and launch quick contact me.
I’m currently available for freelance work.
“The whole experience was extremely professional. We agreed on the requirements and scope of work quickly. The price was fair. Vincy promised quick turn-around and delivered on time ...”
Michael Goldstein, HHG Development Associates LLC, USA