background preloader

CSS

Facebook Twitter

A friendly web development tutorial. Buttons · Bootstrap. Use Bootstrap’s custom button styles for actions in forms, dialogs, and more.

Buttons · Bootstrap

Includes support for a handful of contextual variations, sizes, states, and more. Contents Examples Bootstrap includes six predefined button styles, each serving its own semantic purpose. Copy. Streamlining CSS Print Design with Sass. However, as we completed a critical mass of templates and moved from the proof-of-concept phase to production, CSS maintenance considerations rose to the fore.

Streamlining CSS Print Design with Sass

In our initial rollout of Paged Media designs, we built one set of core CSS files that contained a complete implementation of the styling for all standard book elements (headers, footers, chapter openers, tables, figures, etc.) for one of our simplest and most popular interior designs. CSS for all other interiors designs then @imported this core.css and performed selective overrides to adjust styling as appropriate. CSS Reference. Inspiration for Text Styles and Hover Effects. A couple of creative text styles and hover effects for your inspiration.

Inspiration for Text Styles and Hover Effects

Some effects use experimental techniques including SVG masking and Canvas. View demo Download source. An Introduction To Graphical Effects in CSS : Adobe Dreamweaver Team Blog. Over the past couple of years, CSS has gotten a set of new properties that allow us to create quite advanced graphical effects right in the browsers, using a few lines of code, and without having to resort to graphics editors to achieve those effects.

An Introduction To Graphical Effects in CSS : Adobe Dreamweaver Team Blog

If you are like me, then that sounds like music to your ears. I don’t do well in graphics editors and would choose a code path over a graphical editor path any day. CSS now allows us to do more graphical work right in our text editors. A Pen by Andre Bulatov. 50+ Awesome CSS3 Techniques for Better Designs. CSS3 is gaining momentum, despite the fact that the standard hasn’t even been finalized.

50+ Awesome CSS3 Techniques for Better Designs

There are hundreds of tutorials out there to teach designers how to use it, but unfortunately a lot of them cover the same ground. And some of the tutorials teach designers to do things that they might not think of as useful, though the techniques can usually be adapted to fit a project perfectly. Below are more than fifty awesome CSS3 tutorials. Many are strictly CSS and HTML based, while others also incorporate JavaScript. If you have a favorite technique or tutorial that’s not included below, please share it in the comments! Quick Tip: The Multi-Column CSS3 Module.

For over six years, CSS3 columns have been available to us; yet, strangely, they're rarely utilized.

Quick Tip: The Multi-Column CSS3 Module

Because they currently are only supported in Mozilla and Webkit-based browsers, this means that - again - no support in Internet Explorer. But that's okay! The world will not end if IE users see one longer paragraph. I'll show you how to use this helpful module in today's video quick tip. column-count: The desired number of columns for the element. Coding Kung-fu: 35 Graphics Built Purely With CSS3. Look at the graphics below, awesome Photoshop works right?

Coding Kung-fu: 35 Graphics Built Purely With CSS3

Nah, they’re created by CSS3. Yes, they’re completely “drawn” by CSS3! When we have seen enough CSS3 animations we thought those are all CSS3 can do as a potential Flash killer, but we’re wrong. Developers perhaps don’t satisfy with the fun of animation, so again, they push the boundaries of CSS3 to challenge the graphic editor’s realm. With this post comes 35 carefully crafted CSS3 graphics which even include something you wouldn’t relate with CSS3 like Apple iPhone, cartoon character Doraemon, and more surprises! You are strongly recommended to view these demos using the latest version of Safari or Developer version of Google Chrome. RSS Feed Icon RSS Feed Icon built with CSS3, exclusively from Hongkiat! CSS and Graphics. CSS Puns & CSS Jokes ~ Curated by Saijo George. Having trouble with these CSS Puns?

CSS Puns & CSS Jokes ~ Curated by Saijo George

Multiple Backgrounds and Borders with CSS 2.1. Using CSS 2.1 pseudo-elements to provide up to 3 background canvases, 2 fixed-size presentational images, and multiple complex borders for a single HTML element.

Multiple Backgrounds and Borders with CSS 2.1

This method of progressive enhancement works for all browsers that support CSS 2.1 pseudo-elements and their positioning. No CSS3 support required. Support: Firefox 3.5+, Safari 4+, Chrome 4+, Opera 10+, IE8+. How does it work? Essentially, you create pseudo-elements using CSS (:before and :after) and treat them similarly to how you would treat HTML elements nested within your target element. Pure CSS GUI icons (experimental) An experiment that uses pseudo-elements to create 84 simple GUI icons using CSS and semantic HTML.

Pure CSS GUI icons (experimental)

Shared as an exercise in creative problem solving and working within constraints. Cssarrowplease. HTML5, CSS3, JS Demos, Creations and Experiments. CSS Overlay Techniques. There are several techniques for creating overlays: from using an absolutely positioned element to outlines and pseudo-elements. In this article we are going to explore each technique's styles with their pros and cons.

LESS « The Dynamic Stylesheet language. Increasing the Clickable Area of Inline Links. Demo It has been best prac­tice for some time now to ensure that nav­ig­a­tion links have appro­pri­ate pad­ding. This makes click­ing these links much easier, espe­cially if you are on a mobile device. Here is an art­icle, writ­ten four years ago, dis­cuss­ing this very idea. Why aren’t we tak­ing this one step fur­ther? Links don’t only exist in menus, and inline links can be tricky to click accur­ately. Revised Font Stack. Serious efforts are being made to get more typeface choices on the web to enhance web typography. Still, most of us prefer web-safe fonts like: Verdana, Georgia, Times New Roman and Arial. Though choices are limited, yet the number can be increased by exploring other pre-installed fonts.

CSS Lint. 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. When you’re creating a website or an application from scratch, you may need a collection of patterns helping you building thing up. That is the point of today’s tutorial. You can also build classes of classes to custom things to suit your needs. Kick-Start Your Project: A Collection of Handy CSS Snippets. Don't start your project with an empty style sheet: there are many great snippets that can make your life easier and speed up web development.