% H2 = "Chapter 6 mobile Web interface style css3"
% Section
% P = "selector"
% P
% Article
% Lable = "attribute selector"
% Lable. zrticle = "completely [class = article]"
% Lable. ddzrticless = "contains [class * = article]"
% Lable. abbddd = "first letter [class = A]"
% Lable. aaaaae = "letter [class = E]"
% Article
% Lable = "pseudo class selector"
% Div. Before = "% Div. Before content: Text"
% Lable. After = "% lable. After content: Text"
% Lable. First-child = "% lable. First-Child content: Text"
% Lable. Last-child = "% lable. Last-Child content: Text"
% Lable. Nth-child = "% lable. Nth-Child content: Text"
% Lable. Nth-last-child = "% lable. Nth-last-Child content: Text"
% P = "shadow"
% P
% Article. Shadow
% Lable. Box-shadow = "this is the shadow effect box-Shadow: 3px 4px 2px #000 ;"
% Lable. Text-shadow = "this is the text shadow effect text-Shadow: 3px 4px 2px #000 ;"
% P = "background"
% P
% Article. Background
% Lable. Background-size = "background-size background size"
% Lable. Background-clip = "background-clip background Cropping Area"
% Lable. Background-origin = "background-origin reference start position"
% Lable. Background = "background"
% P = "rounded corner"
% P
% Article. radius-Art
% Lable. Lab-radius = "radius rounded corner"
% P = "media queries mobile device style"
% P
% Article. radius-Art
% Lable. Lab-radius = "radius rounded corner"
% Link {rel = "stylesheet",: Media => "screen and (max-width: 600px)": href => "small.css "}
Bytes ----------------------------------------------------------------------------------------------------------------
. Page-FrontPage-index {
Background-color: # FFF;
[Class = zrticle] {
Background-color: red;
}
[Class * = zrticle] {
Background-color: # ABC;
}
[Class ^ = A] {
Background-color: # def;
}
[Class $ = E] {
Background-color: #543;
}
Div. Before {
Content: 'Before add ';
}
. Shadow {
. Box-shadow {
Box-Shadow: 3px 4px 2px #000;
-WebKit-box-Shadow: 3px 4px 2px #000;
-Moz-box-Shadow: 3px 4px 2px #000;
Padding: 5px 4px;
}
. Text-shadow {
Text-Shadow: 3px 4px 2px #000;
Color: #666;
Font-size: 16px;
}
}
. Background {
Height: 80px;
. Background-size {
Background: URL (AUTH/auth-bg.jpg) No-repeat 0px 0px;
Background-size: 50px 40px;
Padding: 10px;
}
. Background-clip {
Background: URL (AUTH/auth-bg.jpg) No-repeat 0px 0px;
Background-clip: Content-box;/* | padding-box | border-box | no-clip ;*/
Padding: 10px;
}
. Background-origin {
Background: URL (AUTH/auth-bg.jpg) No-repeat 0px 0px;
Background-origin: content;
Padding: 10px;
}
. Background {
Background: URL (AUTH/auth-bg.jpg) No-repeat 0px 0px;
}
}
. Radius-art {
. Lab-radius {
Background: URL (AUTH/auth-bg.jpg) No-repeat 0px 0px;
Border-radius: 10px 5px;
Margin: 40px;
}
}
. Media {
@ Media (max-width: 600px ){
. Facet_sidebar {
Display: none;
}
}