Jump to content
Sign in to follow this  
krballard94

CSS Viewport

Recommended Posts

Sometimes while working with Bootstrap, I like to see what my current viewport size is. This helps me edit my site for that specific size and make sure it renders how I expect it to.

So I thought I'll share it. (Just remember to remove it before the site goes live!)

http://pastebin.com/fnP5y7zZ

Edited by krballard94
MWG doesn't like CSS media queries...

Share this post


Link to post
Share on other sites

Very useful information to have for sure if you're working with Bootstrap or any adaptive design. Thanks! :)

~G7470

Share this post


Link to post
Share on other sites
Wow this is actually pretty neat! thank you :O

No worries! I find it useful when increasing the width so I can recognise where my templates will change from rendering on a phone to table to a desktop! Best thing about it, it's unobtrusive but it's there for when you need it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...