Beyond classes and IDs CSS also provides selectors to target element based on their attributes. In this lesson we'll look at selecting elements based on attributes and using CSS modifiers to identify variations of those values…
Image Opacity / Transparency The CSS opacity property is a part of the CSS3 recommendation. Example img { opacity: 0.4; filter: alpha(opacity=40); /* For IE8 and earlier */ } img:hover { opacity: 1.0; filter: alpha(opacity=100); /* For IE8 and earlie…
1.Whereas HTML has tags,CSS has selectors. 2.Selector{ properties:value; properties2:value2; } 3.Lengths & Percentages px:unit for pixels em:unit for the calculated size of a font;N times the current size pt:unit for points ,printed media %: pc-p…
1. Selector Different types of selectors: Selectors can be divided into the following categories: Simple selectors: Match one or more elements based on element type, class, or id. Attribute selectors: Match one or more elements based on their attribu…