Tag: code

  • Quick Tip: LESS Mixins for Pure CSS Pinterest / Masonry style grid layout

    Pinterestย popularized theย masonry grid style layout. Hereโ€™s a simple solution for a masonry layout built with pure CSS3, and no javascript or floats. [css] // Parent Element, or Container .grid (@columns: 3, @gap: 10px, @width: 100%) { -moz-column-count: @columns; -moz-column-gap: @gap; -webkit-column-count: @columns; -webkit-column-gap: @gap; column-count: @columns; column-gap: @gap; width: @width; } // Child Element, or…

  • My plugin gets added to WordPress core!

    WordPress 3.5 was released yesterday[1].ย After upgrading my site, I checked the editor screen and noticed a tiny tweak that made me smile. It looks likeย my humble suggestion finally made it in to WordPress core. Notice the Add Media buttonโ€ฆ itโ€™s an actual button!ย The previous version of the button looked like this: It was an easily…