Embedding Video in a Responsive Site

Published January 23, 2014 by saurav.roy.

We live in the future, and one of the benefits of our brave new world is the thousands of cat videos that are just a click away. Let’s say you’ve just found the perfect felicitous feline video to share with all your friends. You post it to your fancy responsive website quick as a flash (because it’s the future and we can do that), but whoops: the video doesn’t fit! It’s too wide, too narrow, or just awkwardly sized.

Let’s fix that.

First off, we’ll need some sort of a wrapper container for our video. We’ll paste our embed code inside this wrapper. It’ll look something like this:

This wrapper will become our responsive container, adjusting to the size of its parent and allowing us to resize the contents within it. Read On…

New Poll: How Much CSS Do You Already Know?

Published March 17, 2009 by saurav.roy.

Hey everyone, I’ve posted a new poll in the footer of the website, and I’d appreciate if you’d take a second or two (literally) and answer the question du jour: how much CSS do you already know?

This is a chance for me to get to know you, my audience, a little bit better. It will also help me do my darnedest to produce the sort of content that you would find most useful. So! Are you a true CSS newbie, already a big deal in the CSS world, or somewhere in between? Let me know in the poll below!

[poll id=”4″] Read On…