Responsive Aspect Ratios With Pure CSS

Responsive Aspect Ratios With Pure CSS

One of the hurdles I faced when beginning to work with responsive designs was the lack of an obvious way to assign an aspect ratio to a container in CSS. This kind of thing can be handled with an image placeholder or Javascript, but neither is an elegant solution....
CSS: Equally Spaced Horizontal Elements

CSS: Equally Spaced Horizontal Elements

Sometimes there are things you want to do in your layouts with CSS (Cascading Style Sheets) that you assume would be easy, but as you dive into the coding, it turns out what you thought should work just isn’t cutting it. Equally spacing elements across a...
Youtube Thumbnails Via PHP

Youtube Thumbnails Via PHP

Embedding videos from Youtube into a website is a rather painless procedure. Each video is provided with sharing options that include a bit of html code that will get the job done, and with WordPress it’s even easier. All you need is the video URL and the oEmbed...