background preloader

CSSrefresh - automatically refresh CSS files

CSSrefresh - automatically refresh CSS files
Related:  CSS/CSS3 Animated 3D Flipping Menu with CSS CSS animations aren't just for basic fades or sliding elements anymore -- CSS animations are capable of much more. I've showed you how you can create an exploding logo (applied with JavaScript, but all animation is CSS), an animated Photo Stack, a sweet 3D CSS flip card, and much more. Today's we'll create a simple but awesome 3D flipping menu as featured here! The HTML The HTML structure consists of a list with links, as you would expect from a navigation menu, however there are a few extra SPAN elements to aid the 3D effect: <ul class="block-menu"><li><a href="/" class="three-d"> Home <span aria-hidden="true" class="three-d-box"><span class="front">Home</span><span class="back">Home</span></span></a></li><li><a href="/demos" class="three-d"> Demos <span aria-hidden="true" class="three-d-box"><span class="front">Demos</span><span class="back">Demos</span></span></a></li></ul> The CSS The animation centers around transitions and transforms.

teleject/Responsive-Web-Design-Artboards - GitHub How to fix the superscript and subscript line-height problem with CSS If you code CSS / XHTML, you are most likely familiar with the Superscript and Subscript tags. If you use these tags in a situation where there are multiple lines of text you might run into a common problem. The problem is that the Super or Subscript characters push the lines of text further apart to make room for the character. This leaves you with an ugly looking block of text, with 2 lines with too much space between them. Here’s another method some people use which you can try.

jQuery Masonry CSS Flip Animation You've all asked for it and now I've added it: Internet Explorer support! Annoyingly enough, the change involves rotate the front and back elements instead of just the container. Skip to this section if you'd like the Internet Explorer code. IE10+ is supported; IE9 does not support CSS animations. CSS animations are a lot of fun; the beauty of them is that through many simple properties, you can create anything from an elegant fade in to a WTF-Pixar-would-be-proud effect. One CSS effect somewhere in between is the CSS flip effect, whereby there's content on both the front and back of a given container. Quick note: this is not the first tutorial about this effect, but I've found the others over-complicated. The HTML The HTML structure to accomplish the two-sided effect is as you would expect it to be: There are two content panes, "front" and "back", as you would expect, but also two containing elements with very specific roles explained by their CSS. The CSS CSS Flip Toggle CSS Vertical Flip

twolfson/File-Watcher - GitHub Is there a web-safe Helvetica Neue CSS font-family stack? « Rachael L. Moore Or: I would love to know how to use Helvetica Neue on the web Or: No, really, was this always so complicated? In this context, when I say “safe”, I don’t mean “using only web safe fonts”, I mean “how the heck do you get the non-web-safe-font to show up when you know you have it”? I never noticed before having so much trouble figuring out what a font’s name should be in a font stack. Sometimes, for a particular system, I’ve looked up a “better” font to add to the font stack, but.. Wondering what I’m talking about? It’s relevant to a design I’m working on right now. Unfortunately, searching the web for how to do this has raised more questions for me than it answered. The challenges are several: First, it seems that different systems — either having to do with the operating system or the browser — deal with spaces differently (or something)? #1 – Spaces? One system might recognize “HelveticaNeue” and another “Helvetica Neue.” #2 – Weights and Stretch Grasping at Font Stacks

DocumentUp Create a Trendy Retro Photo Effect Purely with CSS I’ve done plenty of retro photo effect tutorials in the past, but they’ve all been done using Photoshop. After playing around with some cool new CSS3 features I managed to create a pretty decent looking retro style image effect using just CSS. With the help of CSS gradients and filters, let’s take a look at how a cool vintage photo effect can be created directly in the browser. This little technique uses a mix of CSS gradients and filters to combine various colour overlays to create that typical old school analogue photo effect. Currently CSS filters only work in Webkit browsers (Safari, Chrome), but it won’t be long until this fun little tip can be put into practice across all browsers. In order to create a retro photo effect, we first need a photo. In the CSS add the above code to instantly create a cool retro effect on any image. The CSS begins with a box-shadow rule using the values inset 0px 0px 100px rgba(0,0,20,1);.

chjj/tty.js - GitHub DD_belatedPNG: Medicine for your IE6/PNG headache! 2011/4/8: This is no longer an actively maintained project. I apologize, I must move on with current events. This is a Javascript library that sandwiches PNG image support into IE6 without much fuss. You can use PNGs as the SRC of an <IMG/> element or as a background-image property in CSS. If you attempt the latter, you will find that, unlike with vanilla usage of AlphaImageLoader, background-position and background-repeat work as intended. As a bonus, "fixed" elements will respond to a commonly used set of Javascript style assignments, as well as the A:hover pseudo-class. Table of Contents Long story short, this uses Microsoft's implementation of VML instead of Microsoft's AlphaImageLoader filter. The intended implementation is pretty easy: Download a copy of the DD_belatedPNG Javascript file - please do not hotlink mine, I am on a shared host. Due to popular demand, here is some documentation for how to "fix" elements on a pick-and-choose basis. (Based on the normal usage approach)

Leaflet - a modern, lightweight JavaScript library for interactive maps by CloudMade Basic Ready-to-Use CSS Styles This is a collection of some basic styles that can come in handy when creating your own style definitions. Learn how to make some useful classes for simple styles and how to apply them to a variety of elements. View demo Download source Today we are going to dig a little bit more into process development. You can also build classes of classes to custom things to suit your needs. This way the .custom class by itself has no point but if you apply it to a .my-class element, you can tweak a little bit the .my-class styles. Now you got the basic idea, let’s have a look at those patterns, starting with the block-level elements. Note that there are no vendor specific prefixes in this tutorial, but you can find the prefixed styles in the CSS. Block-level elements You are creating an image gallery and want to give some subtle styles to the pictures? The Markup For this whole section, I took an a division with the class “block-level” and added the additional classes to it. The Basic CSS Shadows Links