CSS

Design is in the Details: Using CSS Selection Pseudo-Classes to Declare Your Team Spirit

css3 using selection pseudo-classesI’m hesitant to admit it, but I’m not a huge football fan. My boyfriend, however, loves “his” team — the USC Trojans. And if there’s one thing I’ve learned over the years, it’s that football fans will use any excuse to dress up or decorate with their team colors. Actually, real fans don’t even need a reason to show team spirit.

So, in honor of football fans everywhere and to kick off the fall football season in America, I thought it would be fun to show how to use one of the new tools in CSS3 to decorate a web page with your team colors. Let’s play with the selection declaration.

There are many neat design tricks in CSS3. The selection declaration — ::selection — is a quick way to add some polish onto a design and give a website the “wow” factor that really makes clients happy. Using a .selection class can override the operating system’s default highlight color with any color you specify.

As with so many of the best html and css goodies, browser support varies. Safari and Firefox both recognize the selection declaration, but you’ll need to implement the code a bit differently for each browser. Here’s how to use CSS3′s new selection declaration to add a dash of unexpected color to your web design.(...)
Read the rest of Design is in the Details: Using CSS Selection Pseudo-Classes to Declare Your Team Spirit


© Tutorial Blog, 2010. | Buy iPhone Accessories | iPad App Reviews


Parts of CSS3 in Internet Explorer now with CSS3 PIE

One great thing about several CSS3 properties is that they let you save bandwidth and write cleaner markup. All those extra meaningless div and span elements you used to be forced to add to create rounded corners? Not needed. The images used for the same rounded corners, for dropshadows, and for gradients? Not needed either.

Unless of course you want to achieve the same visual design in Internet Explorer. Until IE9 is out, IE users won't get any rounded corners, dropshadows or gradients created with CSS3. So it’s either living with that (which can be an option) or back to writing markup suffering from divitis and spanitis and letting your users download loads of images. Or you could try CSS3 PIE.

Read full post

Posted in , .



HTML5 and CSS3 Web Page Tutorials

The arrival of HTML5 and CSS3 has given web designers a major sense of excitement by offering a broader range of options, creative opportunities and shortcuts for designing a web page. We could talk about all of these new features endlessly, instead, to keep things simple, we have highlighted four web tutorials that make use of HTML5 and CSS3 perfectly and that demonstrate effectively the potential power of these fantastic technologies.

Creating a Minimal Blog Design Using HTML5, CSS3 and jQuery

Creating a Minimal Blog Design Using HTML5, CSS3 and jQuery

Creating a Minimal Blog Design Using HTML5, CSS3 and jQuery

Coding a Stylish Blog Design Layout in HTML & CSS

Coding a Stylish Blog Design Layout in HTML & CSS

This tutorial starts with the Photoshop stage of the blog design process, and shows how the design and layout are created to form an initial concept from which the fully coded blog will be based on.
Coding a Stylish Blog Design Layout in HTML & CSS

Touch The Future: Create An Elegant Website With HTML 5 And CSS3

Touch The Future: Create An Elegant Website With HTML 5 And CSS3

The aim of this tutorial is to create an elegant blog/portfolio for an efficient professional (graphic and web designer or photographer), coded through two new great technologies, HTML 5 and CSS3.
Touch The Future: Create An Elegant Website With HTML 5 And CSS3

Build a HTML5/CSS3 Website Layout Without Images

Build a HTML5/CSS3 Website Layout Without Images

Build a HTML5/CSS3 Website Layout Without Images

By Paul Andrew (Speckyboyand speckyboy@twitter).


Touchscreens and Hover states

With the huge popularity of mobile touch devices and the current major drive to make everything web related compatible with these devices, today’s Design Reviver Answers discussion is certainly relevant with current development trends. The question that was asked was “Will Touchscreen devices make hover states a thing of the past?”

You can leave your thoughts and point-of-view below, or you can leave your answer on the original question on Answers here: Will Touchscreen devices make hover states a thing of the past?

Will Touchscreen devices make hover states a thing of the past?

Will Touchscreen devices make hover states a thing of the past?
This question was originally asked by Mpstud.

The best answer comes from Darrell Estabrook :

Will Touchscreen devices make hover states a thing of the past?

Thanks to everyone who asked a question, but most importantly thanks to everyone that took the time and effort to offer helpful and useful answers.


Remember non-vendor-prefixed CSS 3 properties (and put them last)

Everybody wants to use CSS 3 now that even Internet Explorer will support parts of it once IE 9 is out. But since parts of CSS 3 are still subject to change, most browsers use a vendor prefix for many CSS 3 properties to signal that their implemenation is “experimental� and may change in a later version of the browser.

This means that for a property like border-radius to work cross-browser you need to specify it several times with different vendor prefixes, like this:

  1. .box {
  2. -moz-border-radius:10px;
  3. -webkit-border-radius:10px;
  4. border-radius:10px;
  5. }

Read full post

Posted in , .



  •   
  • Copyright © 1996-2010 BlogmyQuery - BMQ. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress