background preloader

25 CSS Snippets for Some of the Most Common and Frustrating Tasks

25 CSS Snippets for Some of the Most Common and Frustrating Tasks
In this post we have 25 CSS snippets and hacks that will solve many of the most frequently used and, at times, frustrating CSS development tasks. Why reinvent the wheel when there are already plenty of time-saving pre-written CSS code snippets? As well as some classic and timeless CSS hacks you will also find many CSS3 snippets, like box-shadow, border-radius,linear-gradient and many more. Adding shadow to text – text-shadow Helps make your text stand out from the rest. Source Adding an image-based border – border-image You can create any kind of border you want for any object(s) on your website using this. Adding shadow to borders and images – box-shadow Helps make your borders and images “pop” from the background more, giving a subtle 3D-like visual cue that it’s something separate, in the foreground, and the thing that visitors should be looking at. Adding rounded corners – border-radius Self-explanatory. Adding individual rounded corners – border-radius Adding a gradient – linear-gradient

http://speckyboy.com/2011/04/15/25-css-snippets-for-some-of-the-most-common-and-frustrating-tasks/

Related:  CSS

Accessible CSS Forms: Using CSS to Create a Two-Column Layout - replace tables with css layout form tutorial Summary: Websites have become less accessible and more complex over time according to recent studies. Learn how to buck the trend by creating fast, accessible CSS forms that work with modern browsers and gracefully degrade. In a recent study of web design patterns, Dr. Melody Ivory found that accessibility is the most underutilized aspect of good web page design (Ivory 2005). In fact websites have become more complex and less accessible over time (Hackett 2003).

Dust by LinkedIn Dust by LinkedIn async/streaming operation browser/node compatibility extended Mustache/ctemplate syntax clean, low-level API high performance composable templates Release 2.2.3 Glossary and Table format for Definition Lists Today I ran into an old post from Bruce Lawson (via @necolas). In that post, Bruce challenges CSS authors to: style [a definition list] in a way that’s very common for glossaries—term on the left, and all the different definitions on the right. CSS3 Minimalistic Navigation Menu Martin Angelov As you have probably heard by now, CSS3 animations are a powerful tool, which enables you to create animations which run without the need of applying additional scripting to the page. What is even better, in the next generation of browsers we will have even more powerful tools, including 3D transformations (already present in Safari).

100 + Must Have Cheat Sheets and Quick References For Web Designers and Developers Designbeep is a design blog dedicated to web developers,bloggers,designers and freelancers.Our aim is to share everything about web design,graphic design,tutorials and inspirational articles and more. Homepage»RESOURCES »100 + Must Have Cheat Sheets and Quick References For Web Designers and Developers Wow, this is going to help out alot! Thanks!

Easy CSS Dropdown Menus Attractive dropdown menus have long been the realm of Flash developers and advanced JavaScript gurus. But that needn’t be the case. This tutorial will walk you through developing a clean, semantic dropdown menu using XHTML and CSS that works in all modern browsers! Let’s start with the XHTML first and foremost. All About Floats What is "Float"? Float is a CSS positioning property. To understand its purpose and origin, we can look to print design.

CSS transitions & media queries Posted on 31 May 2011 • 14 comments While coding up the site for our Insites Tour, I happened across an accidental feature: a smooth transition on growing / shrinking type and image sizes when I resized the browser window. This isn’t particularly groundbreaking and has probably been put into use by others, but as I personally haven’t seen it used elsewhere on the web, I thought it’d be good to make a note of this happy accident. The basic premise is this: you use media queries to design responsive websites that adapt their layout according to browser width, and you constantly resize your browser to see how the site performs, but each time a query kicks in, there’s a harsh jump between the old styles and the new ones.

Diễn Đàn Xổ Số - Lô Gan - Xổ Số Miền Bắc - Kết quả Xổ Số - Diễn Đàn Xổ Số Vui Hải Âu và những người bạn Dòng Họ Người Việt Cao đẳng nghề by mutian Dec 7

Related: