Category

CSS

Category

This is a simple template that takes advantage of the background-attachment CSS property to create a fixed background effect. Today’s snippet comes from Codyhouse.It is all about a single CSS property: background-attachment. You can set the background to be fixed within the viewport (background-attachment: fixed;).     The new trick here is having the same element (in this case a phone) in the exact same position in all background images, so that while you scroll…

Delightful and performance-focused pure css loading animations.A collection of loading animations written entirely in css. Each animation is limited to a small subset of css properties in order to avoid expensive painting and layout calculations. Wrap the surrounding container in display:flex and center the animation.    

A little playful content navigation effect that uses the draggable Elastic Stack and Snap.svg for animating a background shape like a trampoline created by Codrops. The idea is to simulate the bounciness of a trampoline when navigating the image stack. For the draggable image stack Elastic Stack has been used and the SVG animations are done with the help of Snap.svg.CSS animations are also used for the effects.    

This is a collection of fresh button styles and effects for your inspiration by Codrops. CSS transitions and pseudo-elements have been used for most of the effects. The current “button trend” is quite exciting since there are a variety of design details in use which allow for a great diversity of styles. There are lots of thin lines but also bold typography and vice versa. The transparent button with a slightly rounded border seems to…

A CSS grid framework built on SASS to provide an automatic responsive grid for web developers with flexibility for manual control when needed. This grid is a float and padding-based grid, meaning that it works by using floats to create rows and padding to create the gutters between columns instead of margin. This framework is built based off of config values so any number of columns, gutter sizes, column breakdowns, and breakpoints can be configured…

This is a tutorial on how to create various types of (animated) fills and strokes for text using different techniques including CSS and SVG by Codrops. Can the text fill be animated? Can you fill text with animated shadows or gradients? Or what about using videos for filling the text? In this article there are five ways to create patterned filled text. In three out of these five cases you will retain the ability to…

Littlebox is a set of icons made entirely with CSS.Each littlebox icon is made up of three or fewer elements, but can be called with as a single element with class .lb-icon followed by the .lb-* class associated with the requested icon. It’s easy to include a littlebox icon in your project: Download the littlebox CSS files and initialize the plugin in your project. Add a littlebox icon to your project. The same structure is…

A set of subtle effects for click or touch interactions inspired by the visualization of screen taps in mobile app showcases. The effects are done with CSS animations mostly on pseudo-elements. While these effects are based on the place you click or touch, the whole idea of providing a subtle feedback effect is really interesting. Usually, subtle indicators are used in app showcases to visualize a tap on the mobile screen. But these kind of…

What’s a transformicon? It’s an animated symbol/button using CSS and presented in a neatly packaged library for Sass along with Vanilla CSS. Transformicons are mostly powered by CSS however, a little piece of JavaScript is required to toggle the transformed states. It supports E10+, Chrome 36+, Safari 6+, Firefox 30+, Opera 22+, iOS 7+, Android 4+, Chrome for Android 38+

Turret is a responsive frontend framework build with LESS to normalize styles for default HTML elements, created by Scott de Jonge. Turret has a simple and intuitive grid system and responsive utility classes for quick development using logical and legible markup.Turret is focused on typography, font definitions, colour palettes, and indicators for intuitive user interfaces. Turret is Less framework for styling native web elements. That’s about it, no javascript, no custom markup, just semantic web…