Css3

Drop64

Drop64 is an easy drag-and-drop tool for generating Data URIs from any file. Check it out at drop64.com. Here’s a demo recording of how easy it is. Some benefits of Data URIs are: Fewer HTTP requests means faster page loads avoid cross-origin resource loading issues (fonts in Firefox, for example) you can paste the Data URI directly into your web browser URL bar to view the file (occasionally convenient) If you noticed the similarity to ColorPal, well done!

How not to use CSS3

How to ruin a good thing by abusing CSS3 text shadows… CSS3! The code: // Random factors to determine x/y offsets for text shadows and amount of blur var x_factor = Math.floor(Math.random() * 20) - 10; var y_factor = Math.floor(Math.random() * 20) - 10; var blur_factor = Math.floor(Math.random() * 10) + 1; // Pretty colors var the_colors = [ "#7f9f7f", "#dca3a3", "#80d4aa", "#f8f893", "#ffcfaf", "#e89393", "#9ece9e", "#c0bed1", "#6c6c9c", "#71d3b4", "#a0afa0", "#efefef" ]; function make_it() { // MAKE IT SHINE // Build a string containing a comma-delimited list of the each shadow we want to apply // sprintf would be nice here.