Hello friends in this blog post we will learn about web page development (CSS image opacity,CSS attributes selector,Inline CSS) (CLASS:9) computer engineering students Now lets start.
CSS Image Opacity
→ The opacity property specifies the opacity/transparency of an element.
→ The opacity property can take a value from 0.0-1.0 the lower value. the more transparent
→ Synatx
{
opacity:value;
}
CSS Attributes Selector
→ An attribute selector selects the Html elements that has a specific attribute or attribute with a specified value .
→ The css attribute selectors provides an easy and powerful way to apply the styles on Html element based on the presence of a particular attribute value.
CSS [attribute] selector
→ CSS { attribute="value"} selector.
→ CSS { attribute="value"} selector.
→ CSS [ attribute="value"] selector.
→ CSS [ attribute="value"] selector.
→ CSS [ attribute $="value"] selector.
→ CSS [ attribute *="value"] selector.
Inline CSS
→ Inline styles are used to apply the unique style rules to an element by putting the CSS rules directly into the star tag.
→ Example:
<h1 style=''color:blue; margin-left:30px;"> This is a heading</h1>
0 Comments