background preloader

CSS

Facebook Twitter

Flexbox

10 Best Image Hover Effects Tutorials. Need to spruce up your website with some beautiful animation and transition effects?

10 Best Image Hover Effects Tutorials

Here's a FREE collection of superb image hover effects in both pure CSS3 and jQuery. Bring your images to life. Hover Effects included: Image Zoom, Image Flips, Border Hover, Fading and Sliding Effects, Content Overlays and more... Each tutorial includes demos and downloadable files. Animista. Autoprefixer CSS online – make your vendor prefixes is actual. Demo:CSS image hover effects. File: README — Sass Documentation. Sass makes CSS fun again.

File: README — Sass Documentation

Sass is an extension of CSS, adding nested rules, variables, mixins, selector inheritance, and more. Cubic-bezier(.17,.67,.83,.67) ✿ cubic-bezier.com. Funciones Easing Guía de Referencia. Comprehensive Guide: When to Use Em vs. Rem. You may have come to terms with using flexible units of measurement, but you still might not fully understand when to use rem and when to use em.

Comprehensive Guide: When to Use Em vs. Rem

This tutorial will help you figure it out! Both em and rem are flexible, scalable units which are translated by the browser into pixel values, depending on the font size settings in your design. If you use a value of 1em or 1rem, it could translate in the browser as anything from 16px to 160px or any other value. On the other hand px values are used by the browser as is, so 1px will always display as exactly 1px. Try the slider out on this CodePen example to see how the value of rem and em units can translate into different pixel values, while explicitly set px units stay fixed in size: Using em and rem units gives us flexibility in our designs, and the ability to scale elements up and down, instead of being stuck with fixed sizes.

The difference between em and rem units is how the browser determines the px value they translate into. Transitioning Buttons - JavaScript. All CSS Properties Listed Alphabetically. Awesome Media Queries in JavaScript - enquire.js. The Lowdown What is it?

Awesome Media Queries in JavaScript - enquire.js

Enquire.js is a lightweight, pure JavaScript library for responding to CSS media queries. JavaScript callbacks for media queries matching and unmatching. Clean & intuitive API Absolutely tiny - around 0.8kb minified & gzipped! Why should I use it? In responsive design, CSS media queries can only take you so far. enquire.js allows you to harness media queries in JavaScript, giving you the tools to create advanced responsive sites. Dependencies? Enquire.js - Media Query Callbacks in JavaScript. The following is a guest post Nick Williams.

Enquire.js - Media Query Callbacks in JavaScript

Nick emailed me about a new library he created to assist in working with responsive design. Specifically, he was implementing an idea he found here on CSS-Tricks but wanted to do so more intelligently by only running the script when needed. Thus the birth of this new mini library! Hover.css - A collection of CSS3 powered hover effects. All Hover.css effects make use of a single element (with the help of some pseudo-elements where necessary), are self contained so you can easily copy and paste them, and come in CSS, Sass, and LESS flavours.

Hover.css - A collection of CSS3 powered hover effects

For best results, hover effects use a couple of "hacks" (undesirable but usually necessary lines of code). For more information on these hacks and whether you need them, please read the FAQ. Many effects use CSS3 features such as transitions, transforms and animations. CSS-Only Hamburger Menu Icons Demo. Bourbon - Documentation - Mixins - SASS. The animation mixin supports comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule.

Bourbon - Documentation - Mixins - SASS

Each value in the list corresponds to the value at that same position in the other properties. box:hover { // Animation shorthand works the same as the CSS3 animation shorthand @include animation(scale 1.0s ease-in, slide 2.0s ease); // The above outputs the same CSS as using independent, granular mixins. The 14 Most Popular CSS Links of 2016 So Far — StatusCode. The 14 Most Popular CSS Links of 2016 So Far We’ve taken a look through all the stats for the 20 issues of HTML5 Weekly (our front-end development newsletter) published so far in 2016 and have collected together the most popular CSS articles, round-ups, tools and tutorials readers have clicked on.

The 14 Most Popular CSS Links of 2016 So Far — StatusCode

HTML5 Weekly is a newsletter sent every Wednesday with the most important links in the front-end developer community — Join 70,000 other subscribers and sign up for free here. Useful :nth-child Recipes. I get a little giddy when I come across perfect uses for :nth-child or :nth-of-type (read about the difference).

Useful :nth-child Recipes

The better you understand them, the more css nerdgasms you get to have! In these simple "recipes" (really: expressions) I'll arbitrarily use a flat list of list items and randomly chosen numbers. But it should be fairly obvious how to alter them to get similar selections. Select Only the Fifth Element To select the first element, you can use :first-child, or I bet you can guess how to alter the above to do it as well. Select All But The First Five If there were more than 10 elements here, it would select all of them beyond 5. Select Only The First Five Select Every Fourth, Starting At The First. Family.scss. Will Change. Ordered List CSS Styles - codeitdown.com. Accessible, Simple, Responsive Tables.

There is no single solution to make any <table> appropriately responsive.

Accessible, Simple, Responsive Tables

That's what I like about this post by Davide Rizzo: it admits that, then gets on with some solutions. This is a great addition to territory we've been treading for a while. Content and Comparison tables. Styling Select Box with CSS3. Style a Select Box Using Only CSS. I often have to use a select box when I’m putting together a custom form that requires a drop down list.

It took me a while to figure out how to easily style the select box using only CSS since certain parts are browser specific, such as the drop down arrow. Here is how a select box will look by default: This is the HTML code: There are certain elements of a select box that we can style such as the font, border, color, padding and background color: But that annoying drop down arrow always stays the same. Can I use... Support tables for HTML5, CSS3, etc. About "Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers. The site was built and is maintained by Alexis Deveria, with occasional updates provided by the web development community. The design used as of 2014 was largely created by Lennart Schoors. 22 Essential CSS Recipes. Hey there! Today we are going to talk about some useful tricks in CSS. Let's begin with... Blend Modes Not so far Firefox and Safari started to support blend modes right as Photoshop does.

It also works in Chrome and Opera but with flags.