Articles

CSS & JS: Make Youtube responsive

You can make YouTube videos responsive with CSS. Wrap the iframe in a div with the class of "youtube-container" and apply the styles.

equalHeight DIV tweaks

A simple JavaScript code to equalise heights of multiple elements on a page. The basic idea is to measure all of their heights and then set all their heights to that of the tallest one.