css tutorials
Pure CSS Animated Progress Bar
0Here’s a simple demonstration of how you can create animatedprogress bar using pure css. The trick is very simple. We need 3elements, one container and 2 nested elements.
Take a look at the demo| Download zip file
The Concept
We’ll put a cool background image in the container and define fixedwidth and height. First child (SPAN) will act as a progress bar. We’llabsolutely position second child (EM) above the progress bar and shiftit to the left to a desired value. EM has the same background as thecontainer so it gives an effect of progress bar stopping at certainpercentage.
Markup
To keep it as meaningful as possible I used definition list (DL) tolist for several values. For single progress bar you can use anyelement you want. I love paragraphs so I used P in my example.
<dd><br /> <span><em
Creating CSS Layouts: The Best Tutorials on Converting PSD to XHTML
0First of all, I should thank delicious, StumbleUpon, Dzone, Designfloat and other major social bookmarking websites’ users for featuringmy previous posts. I received a lot of traffic after a few days afterstarting this blog.
In this post, I’m going to show you the most practical tutorials oncoding a template using CSS and XHTML. Making a template has two steps.The first step is Designing the template components and the second stepis Coding them into a valid XHTML page.For learning designing a template from scratch in Photoshop, I suggest checking this post by dzineblog. But how to convert the designed PSD file to an XHTML document is the reason I wrote this post.
The best Tutorials on Converting PSD to XHTML
1- CSS Template Tutorials – Setting Up- This is the part one of the
Cheat Sheets for Front-end Web Developers
1Cheat sheets are helpful to have around because they allow you toquickly remember code syntax and see related concepts visually.Additionally, they’re nice decorative pieces for your office.
In this article, you’ll find 23 excellent, print-ready cheat sheets for HTML/HTML, CSS, and JavaScript (including MooTools and jQuery).
So go ahead – print out your favorites and pepper your workspace with these wonderful references.
HTML/XHTML
1. HTML Help Sheet
2. HTML Cheat Sheet
3. HTML Character Entities Cheat Sheet
4. XHTML Cheat Sheet v. 1.03 – PDF
CSS
5. CSS Cheat Sheet (V2)
Are you a CSS fanatic?
0Simplicity is better: some suggestions for a clean blog layout
0Simple CSS vertical menu Digg-like
0This tutorial explains how to implement a simple vertical menudigg-like using CSS and javascript to show/hide sub-menu. The result islike this:
Download this tutorialStep 1: HTML codeHTML structure is very simple and contains two <ul> tags (menu and sub-menu):Copy and paste the following code in a new html page:
</ul></div>
Step 2: CSS codeCopy and paste this code to define menu button:
9 Expert CSS Ideas You Should Think Twice About Before Using
0Smashing Magazine does an excellent job of providing quality resources forweb developers. Today while checking out Digg, I noticed that they havea new article entitled 70 Expert Ideas For Better CSS Coding. The articlecontains lots of good information on how to improve your CSS, howeverthere are a number of ideas presented that should be taken witha grain of salt.
Section 1.1
Idea: Keep a library of helpful CSS classes
This concept really breaks the separation of presentation and contentthat we strive for when using CSS classes and writing semantic code. If we have some html:
We gain NO benefits over the following, except for a few characters:
Instead, it makes much more sense to create classes based on the content:
Then if you have
The Ten Most Important CSS Tips : Simple Things You Should Know about Cascading Style Sheets
1When you’re first learning to build a Web site, you often don’tthink much about style sheets, as you’re too busy learning to tell a<p> from a <br>. But once you’ve mastered the basics, CSSis an obvious place to go to make your pages more user friendly andmanageable. These ten tips will get you up and running with CSS fasterthan you might think.
- The best way to learn CSS is in a free class.Luckily there is one offered on this site.
- You can use CSS on more than just span and div tags.Makesure that you style everything that makes sense in your document, don’tjust limit yourself to span and div tags. I have seen many new CSSdevelopers spend a lot of time trying to convert their sites to spanand divs, when it’s not necessary. You can style any tag you
