Read my book

I wrote books about Webpack and React. Check them out!

Tuesday, March 29, 2011

CSS Triangles

Ever wondered how to draw triangles using just CSS? Even if you didn't, here's how to do it.

CSS:



Markup:



It's just a matter of (ab)using CSS opacity. I came by this trick while researching how to implement a popover using JavaScript.

You can find a live demo at jsFiddle in case you want to give it a go.

Tuesday, March 22, 2011

Photo - Ducks and Urban Art

Ducks and Urban Art by bebraw
Ducks and Urban Art a photo by bebraw on Flickr.

It has been a while since the last blog post. I've been enjoying the Spring and getting some work done. I probably should elaborate on that a bit later... :)

I think I'll start to steer this blog towards more artsy stuff. Don't be surprised if I decide to blog about a photo like this every once a while.