<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Digital Designer that likes art, pop surrealism, photography, , virtual toys, robots (the cute ones).</description><title>simurai</title><generator>Tumblr (3.0; @simurai)</generator><link>http://simurai.com/</link><item><title>Small demo of animated CSS Mask Icons. Note: It uses the...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m26h2kZDsw1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Small demo of &lt;strong&gt;animated CSS Mask Icons&lt;/strong&gt;. Note: It uses the &lt;strong&gt;non-standard&lt;/strong&gt; CSS masks that are only implemented in WebKit without a spec. I don’t wanna go into discussing if that’s ok or not, instead I just like to experiment with them because I think you can do cool stuff and hopefully one day it will become standard.&lt;/p&gt;
&lt;p&gt;Using CSS masks for icons would have the benefit of being able to create a large icon-set and easily swap textures, colors, shadow effects. And also animate them. Basically everything you can do with CSS backgrounds. It could also be used for other stuff like tooltips, speech bubbles, funky shaped buttons and so on.&lt;/p&gt;
&lt;p&gt;The basics of this demo goes something like this:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Add a &lt;strong&gt;texture&lt;/strong&gt; and &lt;strong&gt;gradients&lt;/strong&gt; to your element’s background.&lt;/li&gt;
&lt;li&gt;Use SVG (or PNG) as &lt;strong&gt;mask-image&lt;/strong&gt; to “cut out” the rectangle into the desired shape.&lt;/li&gt;
&lt;li&gt;Use a second shape together with &lt;a href="https://developer.mozilla.org/en/CSS/-webkit-mask-composite" target="_blank"&gt;mask-composite&lt;/a&gt; to either &lt;strong&gt;add&lt;/strong&gt;  (source-over -&gt; robot), &lt;strong&gt;subtract&lt;/strong&gt; (source-out -&gt; apple bite, cloud arrow) or &lt;strong&gt;intersect&lt;/strong&gt; (xor -&gt; cloud arrow while pressing) with the first mask.&lt;/li&gt;
&lt;li&gt;Add some transitions/animations to the &lt;strong&gt;mask-position&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;So ya, basically you can &lt;strong&gt;mask a mask&lt;/strong&gt;, combine multiple masks or even do the opposite depending if they overlap or not. In total there are a dozen mask-composite options that I’m not quite sure what the exact difference is. I just tried them all till it worked like I wanted. ;-)&lt;/p&gt;
&lt;p&gt;Couple notes:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Pseudo elements&lt;/strong&gt; (highlight on the cloud) also gets masked.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSS filters&lt;/strong&gt; (Chrome Canary, WebKit nightly) work great with CSS masks, unlike box-shadows. See how the drop-shadow follows the contures of the SVG shape.&lt;/li&gt;
&lt;li&gt;For better cross-browser support you could just animate multiple backgrounds (background-composite works too), but then you loose the ability to use a seamless texture.&lt;/li&gt;
&lt;li&gt;I’m pretty sure, you could do all the effects with SVG alone. It has masks, drop-shadows, animation.. I just haven’t really dugg myself deep enough into them.&lt;/li&gt;
&lt;li&gt;Since it uses mask-position to animate the masks, you can’t rotate them, which is a little limiting.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;a href="http://lab.simurai.com/icons/" target="_blank"&gt;See demo&lt;/a&gt; (WebKit)&lt;/p&gt;</description><link>http://simurai.com/post/20732728563</link><guid>http://simurai.com/post/20732728563</guid><pubDate>Sun, 08 Apr 2012 22:32:44 +0200</pubDate><category>lab</category><category>icons</category><category>SVG</category></item><item><title>SVG Stacks</title><description>&lt;p&gt;Image sprites are wildly used for downloading lots of icons or UI elements all at once with just a single HTTP-Request. But they are &lt;strong&gt;somewhat cumbersome&lt;/strong&gt; to use because you have to calculate the background-position offsets. You can&amp;#8217;t easily add, remove or reorder them without recalculating. Or change the size without a neighbour peeking in from the side.&lt;/p&gt;
&lt;p&gt;How could it be solved? Well, by &lt;strong&gt;stacking&lt;/strong&gt; them all on top of each other, turn off their visibility and only show the one you want. Have been wishing this would be possible for a while.. and then this happened (read from below):&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1ruilb6Qe1qz764u.png"/&gt;&lt;/p&gt;
&lt;p&gt;Oh, nice! It already &lt;a href="http://jsfiddle.net/simurai/7GCGr/" target="_blank"&gt;works in Firefox&lt;/a&gt;. And it&amp;#8217;s also &amp;#8220;planed&amp;#8221; to be added in &lt;strong&gt;Opera&lt;/strong&gt;: Bug &amp;#8220;CORE-37596&amp;#8221; (couldn&amp;#8217;t find a public link to it). There are alternatives to SVG Stacks with better browser support by using &lt;a href="http://jsfiddle.net/24DNn/5/" target="_blank"&gt;embed, iframe, object or img elements&lt;/a&gt;, but I still prefer background images because of their easier positioning/resizing. So let&amp;#8217;s hope more browsers will also add support for that.&lt;/p&gt;
&lt;p&gt;So how does it work? It&amp;#8217;s actually pretty simple. Have a look at the source of &lt;a href="http://xn--dahlstrm-t4a.net/tmp/sharp-icons/svg-icon-target.svg" target="_blank"&gt;Erik&amp;#8217;s SVG file&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1rtbv6Nve1qz764u.png"/&gt;&lt;/p&gt;
&lt;p&gt;First we give each of our icons in the SVG file a unique &lt;strong&gt;ID&lt;/strong&gt; and the same &lt;strong&gt;class&lt;/strong&gt; name, add some CSS to &lt;strong&gt;hide all&lt;/strong&gt; icons and only display the one that gets selected with &lt;strong&gt;:target&lt;/strong&gt;. And now we can use a hash in the URL to pass the ID into the SVG file, like background: url(icon.svg#&lt;strong&gt;ID&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;Big thanks to &lt;a href="https://twitter.com/erikdahlstrom" target="_blank"&gt;@erikdahlstrom&lt;/a&gt; for that technique.&lt;/p&gt;</description><link>http://simurai.com/post/20251013889</link><guid>http://simurai.com/post/20251013889</guid><pubDate>Sun, 01 Apr 2012 00:46:00 +0200</pubDate><category>SVG</category><category>blog</category></item><item><title>We're in an icon-sharpness limbo</title><description>&lt;p&gt;With the rise of Retina displays people are looking for resolution independent alternatives to PNG icons. Some fell in love with font-icons, some are shouting &amp;#8220;SVG&amp;#8221;. But I&amp;#8217;m sorry, if you&amp;#8217;re looking for a silver bullet, I&amp;#8217;m afraid it doesn&amp;#8217;t exist. Let&amp;#8217;s take a closer look at our options:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Icon fonts&lt;/strong&gt; are awesome, but.. &lt;/p&gt;
&lt;p&gt;they are not sharp. I mean &lt;strong&gt;really&lt;/strong&gt; sharp, pixel-perfect kind of sharp. Using font-face for icons has become quite popular. I have been promoting and even started &lt;a href="http://www.delicious.com/stacks/view/SC3hpq" target="_blank"&gt;collecting&lt;/a&gt; them. But there is a flaw that keeps bugging me. They are still a tiny bit blurry on &amp;#8220;non Retina&amp;#8221; displays (which are still a huge majority). Try out the &lt;a href="http://css-tricks.com/examples/IconFont/" target="_blank"&gt;size slider in Chris&amp;#8217;s demo&lt;/a&gt; and take a very close look. It varies at different sizes, but they all have this &amp;#8220;&lt;strong&gt;half-pixel blurriness&lt;/strong&gt;&amp;#8221; problem. It might be hard to notice, so here a zoomed-in screenshot at 15px (also removed the background noise):&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1g4nwN76C1qz764u.png"/&gt;&lt;/p&gt;
&lt;p&gt;The subpixel anti-aliasing works great on curves, but not on straight lines, there it just doesn&amp;#8217;t look sharp. In theory you could use &lt;a href="http://en.wikipedia.org/wiki/Font_hinting" target="_blank"&gt;font hinting&lt;/a&gt; to snap the icons to whole pixels. But so far I&amp;#8217;m not aware of any icon-set doing that. Also I&amp;#8217;m guessing it&amp;#8217;s a lot more work and the hinting data might increase the file size significantly. &lt;strong&gt;Edit&lt;/strong&gt;: &lt;a href="https://twitter.com/#!/thijs/status/183945113507074048" target="_blank"&gt;@thijs notes&lt;/a&gt; that hinting only works on supported platforms and won&amp;#8217;t help on OS X, iOS and Android.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SVG to the rescue?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Well, not really. The big advantage of using SVG icons would be that in their original size (not resized), they look pixel-perfect sharp. But once you start resizing, they have the same subpixel blur problem until you reach &lt;strong&gt;multiple&lt;/strong&gt; of its &lt;strong&gt;original size&lt;/strong&gt;. Notice the inner cross.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1g4tdRKjY1qz764u.png"/&gt;&lt;/p&gt;
&lt;p&gt;In practice using only multiple sizes probably should be ok. You create all your icons in a base size, let&amp;#8217;s say 16px and you use a bigger version for action buttons in 32px or 48px.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: &lt;a href="https://twitter.com/erikdahlstrom/status/184242648700301312" target="_blank"&gt;@erikdahlstrom&lt;/a&gt; + &lt;a href="https://twitter.com/marco_rosella/status/183969428604583937" target="_blank"&gt;@Marco_Rosella&lt;/a&gt; mentioned: &lt;strong&gt;shape-rendering:crispEdges&lt;/strong&gt;. If used on individual rect(angles), they can be forced to pixel-snapping. Might not always be perfect, but keeps it crisp. Test in this &lt;a href="http://jsfiddle.net/simurai/dQbvD/12/" target="_blank"&gt;jsFidde&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Problem solved? I wish, but there are other issues like:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;There is not a lot of good SVG icon sets available.&lt;/li&gt;
&lt;li&gt;Lack of SVG sprite creation tools.&lt;/li&gt;
&lt;li&gt;Can&amp;#8217;t change the color with CSS. &lt;a href="http://jsfiddle.net/simurai/QYr4z/55/" target="_blank"&gt;It is possible&lt;/a&gt;, but only when used with inline SVG and I don&amp;#8217;t feel happy adding big SVG chunks to the markup.&lt;/li&gt;
&lt;li&gt;No effects.. like drop shadows. (SVG has filters, but again.. you can&amp;#8217;t easily change them in CSS).&lt;/li&gt;
&lt;li&gt;And the biggest bummer of all.. bad browser support in Firefox and Opera when an SVG is used as a &lt;strong&gt;background-image&lt;/strong&gt;. It appears that the SVG actually gets converted into a bitmap and when resized with background-size, it doesn&amp;#8217;t get redrawn, just scaled up, which makes it look really blurry. This kinda defeats the purpose of using a &lt;strong&gt;S&lt;/strong&gt;calable &lt;strong&gt;V&lt;/strong&gt;ector &lt;strong&gt;G&lt;/strong&gt;raphic.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m1g50582vT1qz764u.png"/&gt;&lt;/p&gt;
&lt;p&gt;Here a &lt;a href="http://jsfiddle.net/simurai/dQbvD/" target="_blank"&gt;fiddle to test it out&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You could use inline SVG or SVG as an &amp;lt;img&amp;gt; element, but that makes it hard to be used as a sprite. Maybe with nested elements and overflow:hidden? Anyways.. just not as straight forward and flexible as with background-image.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: David Bushell found a &lt;a href="http://dbushell.com/2012/03/11/svg-all-fun-and-games/" target="_blank"&gt;workaround&lt;/a&gt; by starting large and only scale down.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PNGs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Lots of icon fonts also come with a PNG version that you could use instead, but then you need a solution for showing a HiRes version on Retina displays. Using a &lt;strong&gt;device-pixel-ratio&lt;/strong&gt; Media-Query should help you out. Or Apple just implemented &lt;a href="http://trac.webkit.org/changeset/111637" target="_blank"&gt;-webkit-image-set&lt;/a&gt;, which looks promising, but still is gonna take a while.&lt;/p&gt;
&lt;p&gt;So what should you do? As I said.. there is no silver bullet, but..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here a little guide&lt;/strong&gt; that might help.&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;When starting a new project, during prototyping and development, use font icons. Nothing beats the freedom of quickly and easily swap icons, change colors, try out text-shadow and other effects.&lt;/li&gt;
&lt;li&gt;Then at some point you have to decide if it&amp;#8217;s worth the trouble that comes when using SVG icons or PNGs. It&amp;#8217;s a tough call and in the end it all depends on your requirements and priorities. It almost needs a flow-chart. ;-) You&amp;#8217;ve to be ok with all their limitations described above. See if the available budget allows for the extra work, count how many icons there are in total and if you need them in different sizes or not.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;There’s just no single image format suitable for everything and probably never will be. So who says you can&amp;#8217;t &lt;strong&gt;mix them all together&lt;/strong&gt;? Maybe best is to use PNG served in many different sizes for your high fidelity, multi-color logo and other graphics. SVG icons for your navigation that stays the same size, but also look sharp on Retina displays. Responsive inline SVG for bars and charts and an icon font for all your different button sizes. We&amp;#8217;ve mostly been doing that anyways.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A look into the future&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Is there a way to get out of this icon-sharpness limbo? Well.. let&amp;#8217;s just wait a little.. once we have Retina displays everywhere (ok, could take a couple years), the subpixel problem will be gone and maybe browsers will have fixed the SVG issues and we can truly celebrate our resolution independent icons? But even then, we still would&amp;#8217;ve to deal with the problem that &lt;a href="http://www.pushing-pixels.org/2011/11/04/about-those-vector-icons.html" target="_blank"&gt;details in icons don&amp;#8217;t scale&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In case I&amp;#8217;m missing something, you can send a &lt;a href="https://twitter.com/simurai" target="_blank"&gt;Tweet&lt;/a&gt; or write a &lt;a href="https://plus.google.com/110156363849628236019/posts/GtGz2rCQ4mo" target="_blank"&gt;comment on G+&lt;/a&gt;. Thanks.&lt;/p&gt;</description><link>http://simurai.com/post/19895985870</link><guid>http://simurai.com/post/19895985870</guid><pubDate>Sun, 25 Mar 2012 17:47:00 +0200</pubDate><category>SVG</category><category>font</category><category>icons</category><category>retina</category><category>blog</category></item><item><title>What is Responsive Web Design?</title><description>&lt;p&gt;Yesterday I tweeted this: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;My excitement for Responsive Web Design is fading a bit. It&amp;#8217;s great for simple websites, but not enough for more complex web apps.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;On mobile you don&amp;#8217;t just wanna shrink and hide some stuff.. you wanna change behaviour.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It caused some discussion and confusion. What I meant was that next to using media-queries to adapt to different screen sizes, we should also consider other aspects that improve the User Experience. Like changing behaviour trough JavaScript, optimize for a different input method like touch and be responsible with the often lower bandwidth. &lt;a href="http://twitter.com/fofr" target="_blank"&gt;@fofr&lt;/a&gt; came up with a &lt;a href="http://www.paulrhayes.com/2011-11/use-css-transitions-to-link-media-queries-and-javascript/" target="_blank"&gt;great hack&lt;/a&gt; to link Media Queries and JavaScript.&lt;/p&gt;
&lt;p&gt;I think the problem is that in &lt;a href="http://www.alistapart.com/articles/responsive-web-design/" target="_blank"&gt;@beep&amp;#8217;s original post&lt;/a&gt;, it mostly was described as a media-query, flexible-layout thing: &amp;#8220;&lt;strong&gt;&lt;em&gt;Fluid grids, flexible images, and media queries are the three technical ingredients for responsive web design&amp;#8221;&lt;/em&gt;&lt;/strong&gt;. But &lt;a href="https://twitter.com/danielmall/status/133203255084847105" target="_blank"&gt;@danielmall notes&lt;/a&gt; that it&amp;#8217;s an approach and not a technology and &lt;a href="https://twitter.com/vasilis/status/133174334029172736" target="_blank"&gt;@vasilis sees&lt;/a&gt; responsive design as using client side techniques to optimize the experience.&lt;/p&gt;
&lt;p&gt;So if you&amp;#8217;re also one of those less educated people like me: The term &amp;#8221;&lt;strong&gt;Responsive Web Design&lt;/strong&gt;&amp;#8220; has either evolved in its meaning, or we didn&amp;#8217;t understand it from the beginning.&lt;/p&gt;</description><link>http://simurai.com/post/12426607711</link><guid>http://simurai.com/post/12426607711</guid><pubDate>Sun, 06 Nov 2011 19:07:00 +0100</pubDate><category>blog</category><category>responsive</category><category>web</category><category>design</category></item><item><title>Another angle on skeuomorphs</title><description>&lt;p&gt;There is a good post about skeuomorphs titled &lt;a href="http://www.usabilitypost.com/2011/10/28/skeuomorph-3/" target="_blank"&gt;Skeuomorph, Pt III&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Next to &lt;strong&gt;touch&lt;/strong&gt; and &lt;strong&gt;smell&lt;/strong&gt;, there is another problem with skeuomorphs on digital screens. &lt;strong&gt;Changing the angle&lt;/strong&gt; you look at it. Moving your head doesn&amp;#8217;t change the 3D perspective, holding your tablet in a different angle does change the shadows and highlights. It just feels not as real.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lts3yi3QSA1qz764u.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;Maybe one day we can add a bump map to create more dynamic shadows/highlights and a screen surface that sticks out. We might also get multiple light sensors so we can adjust according to our real light sources. How cool would it be to move your tablet closer to your lamp and see the shadows and highlights change.. woaaahhh&amp;#8230;&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m not entirely against using Skeuomorphs in our designs. I do it too. Without being able to use textures and fake 3D it would quickly get &lt;strong&gt;boring&lt;/strong&gt;. But maybe something to keep in mind: Using Skeuomorphs on desktop screens are way &lt;strong&gt;less problematic&lt;/strong&gt; than on tablets or phones because on desktops you don&amp;#8217;t touch it with your finger and you mostly keep a straight angle.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;a href="http://twitter.com/apexskier" target="_blank"&gt;@apexsier&lt;/a&gt; points out that such a directional light sensor is called &lt;strong&gt;Light Field Sensor&lt;/strong&gt; and already in use by the &lt;a href="https://www.lytro.com/science_inside" target="_blank"&gt;Lytro camera&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update II&lt;/strong&gt;: Seems Apple is &lt;a href="http://www.patentlyapple.com/patently-apple/2012/02/apple-working-on-hot-3d-eye-tracking-interface-for-gaming-iphone.html" target="_blank"&gt;already working on it&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/12032753853</link><guid>http://simurai.com/post/12032753853</guid><pubDate>Fri, 28 Oct 2011 16:42:00 +0200</pubDate><category>blog</category><category>_fullimg</category></item><item><title>tlk.io is a simple web chat. The idea was to create an open chat...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lt6fdi1wxJ1qz72boo1_r1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://tlk.io/" target="_blank"&gt;tlk.io&lt;/a&gt; is a simple &lt;strong&gt;web chat&lt;/strong&gt;. The idea was to create an open chat without having to signup or login. Chat channels are owner-free and you can invite new people by sharing the URL. The coding is done by the great &lt;a href="http://twitter.com/antstorm" target="_blank"&gt;@antstorm&lt;/a&gt;, I did the design.&lt;/p&gt;
&lt;p&gt;It’s just a start, there’re lots of ideas how it could get improved. But for now.. Happy tlk.ing..!&lt;/p&gt;</description><link>http://simurai.com/post/11568442354</link><guid>http://simurai.com/post/11568442354</guid><pubDate>Mon, 17 Oct 2011 13:58:00 +0200</pubDate><category>UI</category><category>UX</category><category>projects</category><category>portfolio</category></item><item><title>Space CaCSS - Animated CSS3 background patterns. The challenge...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lsfse60dZo1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;Space CaCSS&lt;/strong&gt; - Animated CSS3 background patterns. The challenge was to create some trippy effects with just a &lt;strong&gt;single &lt;div&gt; element&lt;/strong&gt; and no extra markup.&lt;/p&gt;
&lt;p&gt;How does it work? The basic technique is to use a CSS3 &lt;strong&gt;repeating-radial-gradient&lt;/strong&gt; as a background and animate it by changing its &lt;strong&gt;background-size&lt;/strong&gt;. That’s all what’s needed in the second example. Pretty hypnotic. If you want more variations you can use a second gradient with a different background-size. Or add a second animation for the background-position with a different timing. That makes it possible to create a somewhat random looking motion like in the last example (orange).&lt;/p&gt;
&lt;p&gt;You could also add some extra markup and use transforms like rotate, scale or so to make even more trippy effects, but for now I just kept it to background-size and position.&lt;/p&gt;
&lt;p&gt;Something to &lt;strong&gt;keep in mind&lt;/strong&gt;: Animating the whole background of a page is not that great of an idea. First it would be waaaay too distracting, then CPU usage is quite high especially if it’s a large area and using Canvas would probably be a better option. Also it doesn’t work in all browsers. But considering how little code is needed (most is just vendor prefixes) to create those animated patterns, it’s super fun to play with.&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://lab.simurai.com/space-cacss/" target="_blank"&gt;demo&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/10981136044</link><guid>http://simurai.com/post/10981136044</guid><pubDate>Mon, 03 Oct 2011 17:28:00 +0200</pubDate><category>lab</category><category>CSS3</category></item><item><title>Tried to make a Brushed Metal style in CSS3. The texture is done...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lqahsyAW6I1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Tried to make a &lt;strong&gt;Brushed Metal&lt;/strong&gt; style in &lt;strong&gt;CSS3&lt;/strong&gt;. The texture is done by using 3 repeating-gradients with different length. That makes it look somewhat random. For the linear version, browser support is pretty ok, but for the radial one it’s not quite there yet. I think only in Safari 5.1 and Chrome Windows.&lt;/p&gt;
&lt;p&gt;In addition I tried to add a &lt;strong&gt;conical gradient&lt;/strong&gt; for the circle with just faking it with ellipse gradients. It’s ok for low contrasts and if you cover the middle part with an icon or so.. hehe.. ;-P A much more real looking technique is used in &lt;a href="http://attasi.com/experiments/volume/" target="_blank"&gt;this experiment&lt;/a&gt;, but I believe it currently only works in Safari and Chrome Windows. Let’s hope that CSS4 will add support for real conical gradients.&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://lab.simurai.com/metal/" target="_blank"&gt;live Demo&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/9214147117</link><guid>http://simurai.com/post/9214147117</guid><pubDate>Sun, 21 Aug 2011 19:55:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category><category>UI</category></item><item><title>Force Lion's scrollbar back</title><description>&lt;p&gt;&amp;#8220;&lt;em&gt;Anyone figured how to force the scrollbar in Lion with css/html/javascript? i.e. without sys prefs&lt;/em&gt;&amp;#8220; &lt;a href="http://twitter.com/andyshaw85" target="_blank"&gt;@andyshaw85&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As soon as we thought we settled the &amp;#8220;&lt;strong&gt;above the fold&lt;/strong&gt;&amp;#8221; discussions, with Safari on &lt;strong&gt;Lion&lt;/strong&gt; it&amp;#8217;s back, more than ever..!!! ;-(&lt;/p&gt;
&lt;p&gt;Personally, I prefer the hidden scrollbar, but in case you bump into a more &amp;#8220;conservative&amp;#8221; client and he really demands it, you can just overwrite the default and force the srollbar back like this:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-selector"&gt;-webkit-scrollbar &lt;/span&gt;&lt;span class="css-punctuation"&gt;{&lt;/span&gt;&lt;br/&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="css-identifier"&gt;-webkit-appearance&lt;/span&gt;&lt;span class="css-punctuation"&gt;: &lt;/span&gt;&lt;span class="css-value"&gt;none&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="css-identifier"&gt;width&lt;/span&gt;&lt;span class="css-punctuation"&gt;: &lt;/span&gt;&lt;span class="css-unit"&gt;7px&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;span class="css-punctuation"&gt;}&lt;/span&gt;&lt;br/&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-punctuation"&gt;:&lt;/span&gt;&lt;span class="css-selector"&gt;-webkit-scrollbar-thumb &lt;/span&gt;&lt;span class="css-punctuation"&gt;{&lt;/span&gt;&lt;br/&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="css-identifier"&gt;border-radius&lt;/span&gt;&lt;span class="css-punctuation"&gt;: &lt;/span&gt;&lt;span class="css-unit"&gt;4px&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="css-identifier"&gt;background-color&lt;/span&gt;&lt;span class="css-punctuation"&gt;: &lt;/span&gt;&lt;span class="css-value"&gt;rgba&lt;/span&gt;&lt;span class="css-value"&gt;(0&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-unit"&gt;0&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-unit"&gt;0&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-select-op"&gt;.&lt;/span&gt;&lt;span class="css-unit"&gt;5&lt;/span&gt;&lt;span class="css-value"&gt;)&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="css-identifier"&gt;-webkit-box-shadow&lt;/span&gt;&lt;span class="css-punctuation"&gt;: &lt;/span&gt;&lt;span class="css-unit"&gt;0 &lt;/span&gt;&lt;span class="css-unit"&gt;0 &lt;/span&gt;&lt;span class="css-unit"&gt;1px &lt;/span&gt;&lt;span class="css-value"&gt;rgba&lt;/span&gt;&lt;span class="css-value"&gt;(255&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-unit"&gt;255&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-unit"&gt;255&lt;/span&gt;&lt;span class="css-select-op"&gt;,&lt;/span&gt;&lt;span class="css-select-op"&gt;.&lt;/span&gt;&lt;span class="css-unit"&gt;5&lt;/span&gt;&lt;span class="css-value"&gt;)&lt;/span&gt;&lt;span class="css-punctuation"&gt;;&lt;/span&gt;&lt;br/&gt;&lt;span class="css-punctuation"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;See the &lt;a href="http://jsfiddle.net/simurai/UsvLN/" target="_blank"&gt;demo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;PS. And as an added bonus, it gets rid of the ugly scroll-track in Chrome and makes it look more consistent.&lt;/p&gt;
&lt;p&gt;PSS. If you only want it on Lion, here with a &lt;a href="http://jsfiddle.net/NzUTt/3/" target="_blank"&gt;JS sniffing script&lt;/a&gt; added.&lt;/p&gt;</description><link>http://simurai.com/post/8083942390</link><guid>http://simurai.com/post/8083942390</guid><pubDate>Tue, 26 Jul 2011 14:51:00 +0200</pubDate><category>blog</category><category>CSS</category><category>Lion</category></item><item><title>The Cursor Monster is a little CSS3/JS toy that you can play...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_ljukmzMSmf1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;The &lt;strong&gt;Cursor Monster&lt;/strong&gt; is a little &lt;strong&gt;CSS3/JS toy&lt;/strong&gt; that you can play around with. To hide the cursor once the monster eats it, you can use this CSS:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;cursor: none;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;But be careful, it can be super confusing if you abuse it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Apparently Chrome will disable it in a future release, so enjoy while you can. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://lab.simurai.com/monster/" target="_blank"&gt;Feed the monster&lt;/a&gt;&lt;/p&gt;</description><link>http://simurai.com/post/4719656959</link><guid>http://simurai.com/post/4719656959</guid><pubDate>Mon, 18 Apr 2011 17:15:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>JS</category></item><item><title>The Letter-Heads is a Firefox 4 demo that lets you experience...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lhv7sjpU531qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://developer.mozilla.org/en-US/demos/detail/the-letter-heads/launch" target="_blank"&gt;The Letter-Heads&lt;/a&gt;&lt;/strong&gt; is a Firefox 4 demo that lets you experience interactive &lt;strong&gt;shadow art&lt;/strong&gt;. Meet different characters made with letters and text-shadow. Animated with CSS3+JS. It’s mainly inspired by shadow artist &lt;a href="http://kumiyamashita.com" target="_blank"&gt;Kumi Yamashita&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;My role: Concept, Art direction, Illustration, Design and Code.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Project&lt;/strong&gt;: Firefox 4 Demo&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Client&lt;/strong&gt;: Mozilla&lt;/li&gt;
&lt;/ul&gt;</description><link>http://simurai.com/post/3782105679</link><guid>http://simurai.com/post/3782105679</guid><pubDate>Fri, 11 Mar 2011 10:22:00 +0100</pubDate><category>CSS3</category><category>HTML5</category><category>JS</category><category>portfolio</category><category>projects</category></item><item><title>ZEN is a demo of a single-song HTML5 Audio Player. It’s...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lfl6c9risC1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;ZEN&lt;/strong&gt; is a demo of a single-song &lt;strong&gt;HTML5 Audio Player&lt;/strong&gt;. It’s powered by jPlayer, styled and mostly animated with &lt;strong&gt;CSS3&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I’m really happy how the little details turned out. Like how it &lt;strong&gt;morphs&lt;/strong&gt; from a circle to a square button and the &lt;strong&gt;swirl&lt;/strong&gt; at the beginning. But what I like most.. At the beginning, there is just a big simple button. You click it, and it shows its fancy pants. You click it again, back to the simple.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Credits&lt;/strong&gt;: Thanks to &lt;a href="http://twitter.com/maboa" target="_blank"&gt;@maboa&lt;/a&gt; and &lt;a href="https://twitter.com/quinnirill" target="_blank"&gt;@quinnirill&lt;/a&gt; for some JS help. Song from &lt;a href="http://illegal-art.net/allday/" target="_blank"&gt;Every Day&lt;/a&gt; by Girl Talk.&lt;/p&gt;
&lt;p&gt;See the &lt;a href="http://lab.simurai.com/zen-player/" target="_blank"&gt;demo&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/2931027283</link><guid>http://simurai.com/post/2931027283</guid><pubDate>Wed, 26 Jan 2011 00:15:00 +0100</pubDate><category>lab</category><category>CSS3</category><category>JS</category><category>HTML5</category><category>UI</category></item><item><title>Thanks again to Drew Wilson for his Pictos Contest. His big boy...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lclmcut0Mi1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Thanks again to &lt;strong&gt;Drew Wilson&lt;/strong&gt; for his &lt;a href="http://pictos.drewwilson.com/contest.html" target="_blank"&gt;Pictos Contest&lt;/a&gt;. His big boy shall be taken care with lots of love. I just hope the little boy can soon accept the new family member. ;-)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;a href="https://twitter.com/simurai/status/135353905272995840" target="_blank"&gt;R.I.P&lt;/a&gt; Nov 12. 2011&lt;/p&gt;</description><link>http://simurai.com/post/1714429397</link><guid>http://simurai.com/post/1714429397</guid><pubDate>Sun, 28 Nov 2010 15:17:00 +0100</pubDate></item><item><title>Beautiful Pixels wrote an artist profile about me. Thanks a lot,...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lcenvyoPIb1qa2exxo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://beautifulpixels.com/" target="_blank"&gt;Beautiful Pixels&lt;/a&gt; wrote an &lt;a href="http://beautifulpixels.com/the-gods/simurai/" target="_blank"&gt;artist profile&lt;/a&gt; about me. Thanks a lot, turned out really nice. Although it feels a little strange, seeing your own picture up there.&lt;/p&gt;
&lt;p&gt;ps. Thanks for letting the dog pee at my name. ;-)&lt;/p&gt;</description><link>http://simurai.com/post/1673327941</link><guid>http://simurai.com/post/1673327941</guid><pubDate>Wed, 24 Nov 2010 23:17:00 +0100</pubDate></item><item><title>My flirts with CSS3</title><description>&lt;p&gt;At my day job I mostly work with Flash, AfterEffects, Photoshop. About a year ago I wanted to try something new and created &lt;a href="http://shittyday.simurai.com/" target="_blank"&gt;Shitty Day&lt;/a&gt; using HTML, jQuery and CSS. And a couple months later, after I discovered that &lt;strong&gt;CSS3&lt;/strong&gt; can do &lt;strong&gt;animations&lt;/strong&gt;, I did a photo-only tumblr theme called &lt;a href="http://organ-theme.tumblr.com/" target="_blank"&gt;Organ&lt;/a&gt;. Nobody really cared until &lt;a href="http://cameronmoll.com/" target="_blank"&gt;Cameron Moll&lt;/a&gt; (thanks) posted it on his blog and I got asked to create an official theme. It got featured in the theme garden and I was like.. wow.. it seems people really like this CSS3 stuff. So I kept on experimenting and created some more &lt;a href="http://simurai.com/tagged/lab" target="_blank"&gt;CSS3 demos&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://shittyday.simurai.com/" target="_blank"&gt;&lt;img src="http://media.tumblr.com/tumblr_lag3imjIbh1qz764u.jpg"/&gt;&lt;/a&gt;&lt;a href="http://organ-theme.tumblr.com/" target="_blank"&gt;&lt;img src="http://media.tumblr.com/tumblr_lag3ixEDmt1qz764u.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m really happy that most people enjoy them. But there are also some concerns. If you look at all the demos, you&amp;#8217;ll see that most of them only work correctly in &lt;strong&gt;-webkit&lt;/strong&gt; and some just in &lt;strong&gt;Safari&lt;/strong&gt;. And they also lack a &lt;em&gt;graceful degradation&lt;/em&gt;. There are people like &lt;a href="http://paulirish.com/" target="_blank"&gt;Paul&lt;/a&gt; or &lt;a href="http://nimbu.in/" target="_blank"&gt;Divya&lt;/a&gt; that have been pushing me to make them more &lt;strong&gt;cross-browser&lt;/strong&gt;. Thanks and sorry, for letting you down so often. I can understand that some say: If it&amp;#8217;s not cross-browser it doesn&amp;#8217;t &amp;#8220;&lt;em&gt;count&lt;/em&gt;&amp;#8221;. And &lt;em&gt;Web Designers have a responsibility&lt;/em&gt; and so on..&lt;/p&gt;
&lt;p&gt;Well, this is just a hobby for me. I do it &lt;strong&gt;only for fun&lt;/strong&gt;. Doing cross-browser support is the exact &lt;strong&gt;opposite&lt;/strong&gt; of fun. Some might get a kick out of it, but for me, I would just be kicking the wall non-stop. That&amp;#8217;s why I usually don&amp;#8217;t even try and jump right to the next demo. Or call me lazy, that&amp;#8217;s fine too.&lt;/p&gt;
&lt;p&gt;But I guess the main reason why all my experiments work best in Safari is the &lt;strong&gt;tool&lt;/strong&gt; I&amp;#8217;m using: &lt;a href="http://macrabbit.com/cssedit/" target="_blank"&gt;CSSEdit&lt;/a&gt;. If you don&amp;#8217;t know about it, there&amp;#8217;s one killer feature that changed everything. I would say, if it wasn&amp;#8217;t for that feature, I probably would&amp;#8217;ve never started doing CSS. It&amp;#8217;s the &lt;strong&gt;Live Preview&lt;/strong&gt;! Every change you make in your CSS get&amp;#8217;s instantly updated. It&amp;#8217;s like Firebug. Because I like to try out new stuff, I don&amp;#8217;t know upfront how to do things.. I kinda just throw properties in there and start tweaking the numbers till I get to some interesting result. Without Live Preview, I would have to save the file, switch to the browser, refresh, switch back to the editor and start over. For the basic stuff you get things usually right without having to see a preview, but not if you&amp;#8217;re trying to do Photoshop-like styles with CSS. Can you imagine having to &lt;em&gt;save for web &lt;/em&gt;your Photoshop design just to see your changes? Insane right? So because CSSEdit uses Safari to render the Live Preview it automatically will work best in Safari, so there you have it.. blame them. ;-)&lt;/p&gt;
&lt;p&gt;Unfortunately I&amp;#8217;m still waiting desperately till CSSEdit get&amp;#8217;s updated to support &lt;strong&gt;CSS3&lt;/strong&gt;. I&amp;#8217;m puzzled what they are waiting for, if browsers already start dropping prefixes. They could have such a nice head-start before the big guys like Adobe start to add it. Heck, there are tons of &lt;strong&gt;online CSS3 generator&lt;/strong&gt; tools and there is even and app for the iPad. But nothing for desktop? WTF?&lt;/p&gt;
&lt;p&gt;Wait a minute.. online tools. &lt;strong&gt;Online&lt;/strong&gt;? Damn, that&amp;#8217;s it! This will solve everything! A complete HTML/CSS editor in the browser with live editing. Something like &lt;a href="http://jsfiddle.net/" target="_blank"&gt;jsfiddle&lt;/a&gt;, but with auto-complete and a GUI. Things like box-shadows, text-shadows, gradients just scream to be manipulated with sliders. But the best part by far.. you could do your cross-browser hacking right there in &lt;strong&gt;any browser&lt;/strong&gt; you want to support. Maybe such an online editor is technically not possible with older browsers? Or extremely hard to do. Or just have limited features. I have no idea. But trying to add all possible web rendering engines into a desktop editor sounds way harder. The term &lt;em&gt;designing in the browser&lt;/em&gt; would get a whole new meaning, because you&amp;#8217;re &lt;strong&gt;literally&lt;/strong&gt; designing &lt;strong&gt;in&lt;/strong&gt; the browser.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lag2jvAvXL1qz764u.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;Also all files are kept in the &lt;strong&gt;cloud&lt;/strong&gt;. After doing changes, you could just save it, push it to your live server or commit it to something like GitHub or so. Also some kind of SVN or collaboration feature with co-workers could be build in.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Who is gonna do it&lt;/strong&gt;? Is somebody already working on it? Is that why CSSEdit doesn&amp;#8217;t get updated? Or maybe Adobe? Will they move to a subscription model with a &amp;#8220;Dreamweaver Live&amp;#8221;? I also would love if &lt;a href="http://37signals.com/" target="_blank"&gt;37signals&lt;/a&gt; would give it a try. They have the cloud experience, they do web stuff, they have the customers already paying with a subscription model. And how awesome would that be with some integration with their current products. Let&amp;#8217;s see.&lt;/p&gt;
&lt;p&gt;Thanks for reading. &lt;a target="_blank" href="http://twitter.com/share?via=simurai&amp;amp;url=http%3A%2F%2Fsimurai.com%2Fpost%2F1338679924%2Fcss3-flirts"&gt;Tweet your Comment&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;PS. &lt;strong&gt;What&amp;#8217;s next&lt;/strong&gt;? There probably won&amp;#8217;t be any new demos for a while. No, not because I gave up on CSS3.. because I&amp;#8217;m already working on the &amp;#8220;&lt;em&gt;next big thing&lt;/em&gt;&amp;#8221;. ;-)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Here a couple tools that go into that direction. Thanks for sharing. &lt;a href="http://symbiote.heroku.com/" target="_blank"&gt;Symbiote&lt;/a&gt;, &lt;a href="http://github.com/mockko/livereload" target="_blank"&gt;LiveReload&lt;/a&gt;, &lt;a href="http://notes.jessedodds.com/post/613046962" target="_blank"&gt;CSS3 auto-complete for CSSEdit&lt;/a&gt;, &lt;a href="http://www.akshell.com/ide/" target="_blank"&gt;Akshell&lt;/a&gt;&lt;/p&gt;</description><link>http://simurai.com/post/1338679924</link><guid>http://simurai.com/post/1338679924</guid><pubDate>Sun, 17 Oct 2010 23:07:00 +0200</pubDate><category>blog</category><category>CSS3</category></item><item><title>umbrUI is a demo of HTML &lt;input&gt; elements styled with...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l90kqhicQJ1qz72boo1_r1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;umbrUI&lt;/strong&gt; is a demo of &lt;strong&gt;HTML &lt;input&gt; &lt;/strong&gt;elements styled with &lt;strong&gt;CSS3&lt;/strong&gt;. There are: No images, no extra markup and no JavaScript. If you use &lt;strong&gt;appearance: none&lt;/strong&gt;, it will remove the default styles and you’re free to add your own.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;input[type="checkbox"] {&lt;br/&gt; -webkit-appearance:none; /* Remove default styles */&lt;br/&gt; /* Add your own styles */&lt;br/&gt; }&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So I used as many of the :before and :after &lt;strong&gt;pseudo elements&lt;/strong&gt; as possible and well as the &lt;strong&gt;Shadow DOM&lt;/strong&gt; elements. Browser support: WebKit for now.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Credits&lt;/strong&gt;: The Rocker switch (checkbox) is based on &lt;a href="http://drbl.in/55489" target="_blank"&gt;Mike Bernardo’s original design&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://lab.simurai.com/umbrui/" target="_blank"&gt;See the demo&lt;/a&gt; (Safari or Chrome).&lt;/p&gt;</description><link>http://simurai.com/post/1155924231</link><guid>http://simurai.com/post/1155924231</guid><pubDate>Mon, 20 Sep 2010 15:52:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category><category>UI</category></item><item><title>Guess the Stars ★★☆ is a little game demo using some 3D...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l8ph5iFMID1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;Guess the Stars&lt;/strong&gt; ★★☆ is a little &lt;strike&gt;game&lt;/strike&gt; &lt;strong&gt;demo&lt;/strong&gt; using some 3D perspective, animation, reflections and filters. They are just flat images from &lt;a href="http://www.imdb.com/" target="_blank"&gt;IMDb&lt;/a&gt; that get rendered with &lt;strong&gt;CSS3&lt;/strong&gt; into DVD cases. Browser support is still a bit limited.&lt;/p&gt;
&lt;p&gt;Another interesting thing.. the &lt;strong&gt;:target&lt;/strong&gt; pseudo class. Notice that when you click on a movie it stays in that state. You can also use the back button and &lt;strong&gt;deep linking&lt;/strong&gt; works out of the box. Copy/Paste the URL into a new window and it will open at the same state all without any JavaScript.&lt;/p&gt;
&lt;p&gt;See the &lt;a href="http://lab.simurai.com/stars/" target="_blank"&gt;demo&lt;/a&gt;&lt;/p&gt;</description><link>http://simurai.com/post/1117296141</link><guid>http://simurai.com/post/1117296141</guid><pubDate>Tue, 14 Sep 2010 00:13:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category></item><item><title>BonBon Buttons - My goal was to create good looking CSS3 buttons...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l850xo5DC11qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;BonBon Buttons&lt;/strong&gt; - My goal was to create good looking &lt;strong&gt;CSS3 buttons&lt;/strong&gt; with minimal markup. They use only one PNG for the background noise, everything else is rendered by the browser.. well, so far only Safari, Chrome and Firefox. I’m quite happy how they turned out, but of course, the lack in cross-browser support makes them just another demo.. for now. ;-)&lt;/p&gt;
&lt;p&gt;If you are interested in more details, I wrote some sort of &lt;strong&gt;tutorial&lt;/strong&gt; and of course you can click them. &lt;a href="http://lab.simurai.com/buttons/" target="_blank"&gt;See them live&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/1054804958</link><guid>http://simurai.com/post/1054804958</guid><pubDate>Thu, 02 Sep 2010 22:58:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category></item><item><title>ZEPPELIN is an experiment trying to create a glass text effect...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l7e92jdLjd1qz72boo1_r2_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;ZEPPELIN&lt;/strong&gt; is an experiment trying to create a &lt;strong&gt;glass text effect&lt;/strong&gt; (refractive index) with &lt;strong&gt;CSS3&lt;/strong&gt;. The refractive index effect is achieved by using two background images on top of each other. The underlying one get’s scaled down a bit and the top one get’s cutout by the text using &lt;strong&gt;-webkit-background-clip: text&lt;/strong&gt;. For the embossing effect a &lt;strong&gt;-webkit-text-stroke&lt;/strong&gt; with a low opacity is used. Something to keep in mind, animating clippings, text-shadows, transparency can make your CPU spike, it’s not just Flash, CSS can be misused too. So the animation is not looped, only on hover.&lt;/p&gt;
&lt;p&gt;This experiment is inspired by &lt;a href="http://trentwalton.com/bgclip/" target="_blank"&gt;Trent Walton’s example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;See the &lt;a href="http://lab.simurai.com/glass/" target="_blank"&gt;live demo&lt;/a&gt;.&lt;/p&gt;</description><link>http://simurai.com/post/980116140</link><guid>http://simurai.com/post/980116140</guid><pubDate>Fri, 20 Aug 2010 04:10:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category><category>text</category></item><item><title>Where are the trees is an experiment trying to create a...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l6443qSDug1qz72boo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;strong&gt;Where are the trees&lt;/strong&gt; is an experiment trying to create a &lt;strong&gt;Tilt-Shift&lt;/strong&gt; effect on &lt;strong&gt;Text&lt;/strong&gt; using &lt;strong&gt;CSS3&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Once again &lt;strong&gt;text-shadow&lt;/strong&gt; was my best friend. By adding a bigger offset-y and blur-radius to the top and bottom edge, the text appears to have a lens blur that is typical for tilt-shift effects. There is also some rotate, rotateX and skewX to make the text match the perspective of the background image.&lt;/p&gt;
&lt;p&gt;See the &lt;a href="http://lab.simurai.com/tilt-shift/" target="_blank"&gt;live demo →&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Good news for blur fans. &lt;a href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html" target="_blank"&gt;CSS filters&lt;/a&gt; are coming and you can add blur to any DOM element.&lt;/p&gt;</description><link>http://simurai.com/post/861975259</link><guid>http://simurai.com/post/861975259</guid><pubDate>Mon, 26 Jul 2010 19:04:00 +0200</pubDate><category>lab</category><category>CSS3</category><category>CSS</category><category>Text</category></item></channel></rss>

