The @import rule

The ‘@import’ rule allows users to import style rules from other style sheets. Any @import rules must precede all rule sets in a style sheet. The ‘@import’ keyword must be followed by the URI of the style sheet to include. A string is also allowed; it will be interpreted as if it had url(…) around it.

Example(s):

The following lines are equivalent in meaning and illustrate both ‘@import’ syntaxes (one with “url()” and one with a bare string):

@import “mystyle.css”;
@import url(”mystyle.css”);

So that user agents can avoid retrieving resources for unsupported media types, authors may specify media-dependent @import rules. These conditional imports specify comma-separated media types after the URI.

Example(s):

The following rules have the same effect as if the imported style sheet were wrapped in an @media rule for the same media, but it may save the UA a fruitless download.

@import url(”fineprint.css”) print;
@import url(”bluish.css”) projection, tv;

In the absence of any media types, the import is unconditional. Specifying ‘all’ for the medium has the same effect.

CSS Directories

Site
Alexa Rank
www.cssbeauty.com 10,432
www.cssdrive.com 14,303
www.stylegala.com 15,819
www.cssmania.com 22,686
www.cssremix.com 23,294
www.alvit.de/css-showcase/ 26,557
www.cssvault.com 27,285
www.w3csites.com 28,078
www.bestwebgallery.com 30,382
www.csselite.com 33,948
www.screenalicious.com 36,114
www.unmatchedstyle.com 42,269
www.designlinkdatabase.net 48,086
www.screenfluent.com 51,014
www.designsnack.com 51,904
www.cssheaven.com 53,491
www.cssimport.com 57,960
www.cssglobe.com 65,660
www.cssreboot.com 67,768
www.mostinspired.com 68,025
www.thebestdesigns.com 68,614
http://thesis.veracon.net 76,844
www.cssbloom.com 79,672
www.csscollection.com 92,579
www.csstux.com 98,129
www.cssbased.com 101,834
www.css-website.com 102,923
www.designshack.co.uk 109,656
www.ceeses.com 124,001
http://anjo.dekiteharu.jp 135,146
www.cssclip.com 135,730
www.my3w.org 151,235
www.csshazard.com 167,525
www.artnetz.de 173,234
www.css-design-yorkshire.com 177,077
www.css11.com 182,520
www.cssimpress.com 188,219
www.e-motionaldesign.com 202,826
www.cssprincess.com 210,811
www.cssgaleri.com 220,224
www.cssblast.ru 224,048
www.creative-pakistan.com 233,247
www.netzfruehling.de 237,645
www.najdizajn.com 256,885
www.edustyle.net 274,750
www.csssmoothoperator.com 290,827
www.coolsitecollection.com 313,655
www.cssgalaxy.com 348,352
www.per.fectio.net 357,030
www.cssflavor.com 364,755
www.onepixelarmy.com 369,312
www.piepmatzel.de 418,803
www.cssbrain.hu 438,074
www.w3c-compliance.com 461,674
www.stylegrind.com 484,645
www.submitcss.com 523,147
http://inspirace.dobrestranky.com 549,529
www.cssgallery.ro 553,463
www.cssgreen.com 600,815

Master Stylesheet

Removes the default browser styling

/***** Global Settings *****/

html, body {
border:0;
margin:0;
padding:0;
}

body {
font:100%/1.25 arial, helvetica, sans-serif;
}

/***** Common Formatting *****/

h1, h2, h3, h4, h5, h6 {
margin:0;
padding:0;
font-weight:normal;
}

h1 {
padding:30px 0 25px 0;
letter-spacing:-1px;
font:2em arial, helvetica, sans-serif;
}

h2 {
padding:20px 0;
letter-spacing:-1px;
font:1.5em arial, helvetica, sans-serif;
}

h3 {
font:1em arial, helvetica, sans-serif;
font-weight:bold;
}

p, ul, ol {
margin:0;
padding:0 0 18px 0;
}

blockquote {
margin:22px 40px;
padding:0;
}

ul, ol {
list-style:none;
padding:0 0 18px 40px;
}

small {
font-size:0.85em;
}

img {
border:0;
}

acronym, abbr {
cursor:help;
letter-spacing:1px;
border-bottom:1px dashed;
}

/***** Links *****/

a, a:visited {
text-decoration:none;
}

/***** Forms *****/

form {
margin:0;
padding:0;
display:inline;
}

input, select, textarea {
font:1em arial, helvetica, sans-serif;
}

textarea {
line-height:1.25;
}

label {
cursor:pointer;
}

/***** Tables *****/

table {
border:0;
margin:0 0 18px 0;
padding:0;
}

table tr td {
padding:2px;
}

/***** Wrapper *****/

#wrap {
width:960px;
margin:0 auto;
}

/***** Global Classes *****/

.clear { clear:both; }

.float-left { float:left; }
.float-right { float:right; }

.text-left { text-align:left; }
.text-right { text-align:right; }
.text-center { text-align:center; }
.text-justify { text-align:justify; }

.bold { font-weight:bold; }
.italic { font-style:italic; }
.underline { border-bottom:1px solid; }
.highlight { background:#ffc; }

.wrap { width:960px;margin:0 auto; }

.img-left { float:left;margin:4px 10px 4px 0; }
.img-right { float:right;margin:4px 0 4px 10px; }

.nopadding { padding:0; }
.noindent { margin-left:0;padding-left:0; }
.nobullet { list-style:none;list-style-image:none; }