background preloader

11 Classic CSS Techniques Made Simple with CSS3

11 Classic CSS Techniques Made Simple with CSS3
We've all had to achieve some effect that required an extra handful of divs or PNGs. We shouldn't be limited to these old techniques when there's a new age coming. This new age includes the use of CSS3. In today's tutorial, I'll show you eleven different time-consuming effects that can be achieved quite easily with CSS3. I'm sure you've heard of CSS in general. CSS3 isn't that much different, in terms of syntax; however, the power of CSS3 is much greater. Here's what the official (or at least, what I consider official) website of CSS3, css3.info, has to say about CSS3: CSS3 is the new kid in the stylesheet family. Here are the 11 techniques that I'll be showing you how to recreate with CSS3. Probably my favorite on of this list, rounded corners provide a developer with so many options. You can simulate rounded corners by using four extra divs or by using JavaScript. The classical method uses jQuery along with a JavaScript plugin called Corners. View the demo. View the demo. View the demo.

5 CSS3 Design Enhancements That You Can Use Today Cascading Style Sheets (CSS) is the language of Web design, and the next generation of CSS design properties are just chomping at the bit to be released. Are you eager to start using them, but don’t know where to start? Although many of the new properties are not yet “official”, some browsers have already implemented many of the features of the coming CSS Level 3 specifications. The problem is that many browsers—most notably Internet Explorer—have not. The trick to using these new CSS3 features is to treat them as design enhancements. A design enhancement (which I discuss in my new book Speaking In Styles: The Fundamentals of CSS for Web Designers) is any flourish you add to your site designs that increases its visual appeal without diminishing its usability if the style is not rendered. This can be a tricky call, with there being a fine line between enhancement and not diminishing usability: This is the original design, before applying any CSS3 design enhancements 1. 2. border-radius: r; 3.

5 Simple, But Useful CSS Properties This post is about 5 useful CSS properties that you should be very familiar with, but will most likely rarely use. I'm not talking about the new fancy CSS3 properties. I'm referring to the old CSS2 properties such as: clip, min-height, white-space, cursor, and display that are widely supported by all browsers. So, don't miss this post because you might be surprised how useful they are. 1. The clip property is like a mask. Image Clip Example (demo) The following example shows you how to mask an image using clip property. Image Resize and Clip (demo) In this example, I'm going to show you how to resize and clip images. 2. The min-height property allows you to specify the minimum height of an element. Min-height hack for IE6 Note: min-height is not supported by IE6, but there is a min-height hack. 3. The white-space property specifies how white-space is handled in an element. 4. If you change the behavior of a button, you should change its cursor as well. 5.

10 Things CSS3 & HTML5 Will Teach Us While we are all squirming in our seats waiting for the official release and support of HTML5 and CSS3, I’d thought I’d share with you some interesting things about both. We can all look at a boring list of the features of both, but they don’t really tell us how front end development is going to change. Although I’m super excited about how much easier it’s going to make my coding, I’m also somewhat nervous as there’s going to be a HUGE learning curve (especially for CSS3), even if it’s just to our coding habits. Here are 10 great things that both CSS3 and HTML5 are going to teach us very soon. 1. As it is now, every time we want to do some cool effect, what do we have to do? Opacity – we can now control the opacity of an color (or an image without making it a PNG)Drop Shadow – with the box-shadow style we can now add fancy drop shadows to our divs and text! 2. CSS3 also brings many improvements to text and will probably change the way we use fonts. 3. 4. 5. 6. 7. Now becomes: 8. 9. 10.

5 Extremely Useful But Rarely-Used CSS3 Properties - DesignFestival Diligent designers stay up to date with the latest in web design and development. Staying on the cutting edge of the web can give you an advantage in your web design business and can even make your design work substantially easier and better. Most web designers know and use CSS to create beautiful websites that are browser-friendly and consistent across all platforms. Having said that, there are some CSS3 properties that aren’t used as often as you would expect. Despite their rarity, they are extremely useful. Multiple Backgrounds Many designers don’t realize that you can implement multiple backgrounds into your website designs. To implement multiple backgrounds, you need to define them in the body tag and separate them with commas. The result is that the two images (the life preserver and the anchor) are placed in the top-right and the top-left of the browser. Transitions One of the biggest outcries with the decline of Flash is the lack of animation or transitional properties in CSS.

50+ Fresh CSS Techniques, Tutorials and Resources - Noupe Dec 02 2009 By Paul Andrew Learning CSS and how to use it effectively can be a reasonably easy thing to do for a beginning web developer. Being able to adapt to new ideas and different techniques, as well as seeking new solutions to old problems is part and parcel of being a web designer. In this article, we’ll bring you up to date with the latest in CSS development through a collection of fresh CSS tutorials, techniques, and resources. Menus, Buttons and Forms Create a Button with Hover and Active States using CSS SpritesSome designers neglect the click state (active: property in CSS) in web design, either because they’re unaware of it, underestimate the importance of it, or are just lazy. CSS Absolute Positioning: Create A Fancy Link BlockAbsolute positioning is a well-known CSS technique supported by all web browsers. Simply-Buttons v2Cross-browser, custom HTML <button> elements with inactive, active, and hover states. Web Page Layout Techniques Text and Typography Fresh CSS Frameworks

The Basics of CSS3 Last week I posted a CSS3 dropdown menu and someone complained that I didn't explain the CSS code in detail. Well, here is a post on the basics of the new properties: text-shadow, box-shadow, and border-radius. These CSS3 properties are commonly used to enhance layout and good to know. The first three values are RGB color values and the last value is the level of the transparency (0 = transparent and 1 = opaque). RBGA can be applied to any properties associated with color such as font color, border color, background color, shadow color, etc. Text Shadow Text shadow is structured in the following order: x-offset, y-offset, blur, and color; Set a negative value for x-offset to shift the shadow to the left. You can also specify a list of text-shadow (separated by a comma). text-shadow: 0 1px 0 #fff, 0 -1px 0 #000; Border Radius The shorthand for border radius is similar to the padding and margin property (eg. border-radius: 20px). You can specify each corner with a different value. Box Shadow

50 Awesome CSS3 Animations CSS3 has brought some amazing new features. And the most fun is playing with the CSS animation. Here is a compilation of 50 CSS3 animation that allows you to perform many motion-based functions normally Delegated to JavaScript. 1. Use the basic features of the CSS3 Transform: rotate. 2. Analogue clock created using webkit transition and transform CSS. 3. 3D Cube That Rotates Using Arrow Keys You can Use up, down, left and right keys to navigate the 3D cube. 3D cube built using -webkit-perspective, -webkit-transform and -webkit-transition. 4. Multiple 3D Cubes using CSS3 and proprietary ‘transform’ and ‘transition’ properties. 5. An accordion effect using only CSS. 6. Auto-Scrolling Paralax is an animated parallax effect using WebKit’s CSS transition property,Auto-Scrolling Paralax no need JavaScript 7. Isocube is like 3DCube but have litle different. 8. 9. The Matrix is one of the best sci-fi films of all time. 10. 7 Javascript-effect Alternatives Using CSS3 11. 12. 13. 3D Meninas 14. 15.

50+ Useful CSS Tools And Generators for Developers Jul 11 2011 CSS tools are essential for web developers because they act like a sort of magic lamp that can simplify the job at hand. Most development tools are time savers that are there to help developers create stylish, functional and optimized websites with a few shortcuts. CSS tools and generators are available in such large numbers that a developer can choose from a range of them to make their projects go smoother. Here is the collection of around 50 useful and handy CSS tools and generators that every developer should know about. Enjoy! CSS Colors Tools Color Scheme DesignerThis tool provides colors in the form of a color wheel that offers mono, complement, traid, tetrad, analogic and accented analogic color variations in the percentage ratio; and it also highlights the same with the suitable scheme chosen. Ultimate CSS Gradient GeneratorIt is a CSS gradient editor and generator that lets you create CSS gradients having cross-browser support. CSS Layouts Tools CSS Grids Tools (rb)

CSS3 Cookbook: 7 Super Easy CSS Recipes to Copy and Paste CSS3 Cookbook: 7 Super Easy CSS Recipes to Copy and Paste By now you’ve probably seen enough lengthy CSS3 tutorials to last a lifetime. You’re probably starting to become familiar with what CSS3 has to offer and are ready to move past basic theory and see some practical design examples that you can copy and paste right into your code without without wading through tons of commentary. Well you’re in luck because that’s exactly what we have for you today! Letterpress Insetting text is fairly simple in CSS. To start off, fill your text with the darker shade of your background color. The HTML <body><div id="container"><p>pressed</p></div></body> The CSS Small Caps The small caps effect is when all of the letters in a headline are capital, but the initial letters in each word are larger than the rest. One easy way to do this is simply to insert “small” tags into your HTML and then to style those tags with a slightly smaller font size than the rest of the headline. CSS Coupon Stitched Gloss Conclusion

CSS Grid Positioning Module Level 3 Conformance requirements are expressed with a combination of descriptive assertions and RFC 2119 terminology. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in the normative parts of this document are to be interpreted as described in RFC 2119. However, for readability, these words do not appear in all uppercase letters in this specification. All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. [RFC2119] Examples in this specification are introduced with the words “for example” or are set apart from the normative text with class="example", like this: Informative notes begin with the word “Note” and are set apart from the normative text with class="note", like this: Note, this is an informative note. The specification will remain Candidate Recommendation for at least six months.

CSS3 pronti per l'uso | Articoli Css | Css.HTML.it I CSS3 rappresentano il complemento ideale per formattare una struttura di contenuti realizzata con il nuovo linguaggio di marcatura di HTML5, e in questo articolo allestiremo graficamente il template per un blog realizzato per la guida HTML5, utilizzando quelle proprietà CSS3 che sono state implementate nei browser più moderni. Gli esempi presentati (prima e seconda demo) costituiscono un ottimo banco di prova per testare la compatibilità delle varie tecniche: nello specifico, i browser meglio supportati sono Internet Explorer 9, Firefox 4, Safari 5, Chrome 9 e Opera 11. Una delle novità più importanti dei CSS3 è che non sono più inglobati in una unica specifica monolitica in cui spingere tutti gli aggiornamenti del team di sviluppo del W3C; al contrario, essi consistono in una serie di moduli progettati per essere implementati separatamente e indipendentemente gli uni dagli altri. Figura 1 – Browser vendor prefixes

fantasai 54: Evolution of CSS Layout: 1990s to the Future Earlier this year, I was asked to speak at the Emerging Technologies for the Enterprise conference in Philadelphia. I didn't think I'd have anything useful to say at such a conference, not being a practicing web developer, but they scoped out a presentation that seemed like a really interesting idea that I knew I could execute really well. So I agreed to give the talk. Besides, I like Philadelphia. :) Some topics (like How to File a Good Bug Report) I can throw together a few slides and just wing it. This wasn't going to be one of those. After the conference, PhillyETE posted a screencast of the presentation, so anyone can watch it online. But if watching videos is not your thing, I've posted my notes below. Altogether it was a fun challenge, and I think what came out was worth creating. Hi! This is my first time giving a presentation at a conference like this. How many people here work with CSS? So my day job is working on the CSS specifications. The Dark Ages CSS Level 1 CSS Level 2

Related: