Posts

CSS text-decoration-color Property

Image
 CSS text-decoration-color Property CSS text-decoration-color Property The CSS text-decoration-color property is used to specify the color of text decoration lines such as underline, overline, and line-through. By default, when a text decoration is applied, the line takes the same color as the text itself. Syntax: selector {   text-decoration-color: color; } CSS text-decoration-color Property Example  <! DOCTYPE html > < html > < head > < style > p {   text-decoration : underline ;   text-decoration-color : red ;   }   h3 {   text-decoration : underline ;   text-decoration-color : blue ;   } </ style > </ head > < body > < h1 > Text Decoration Color Property </ h1 > < h3 > Underline with red color </ h3 > < p > The text-decoration-color property  in CSS is used to set the color of text  decoration lines such as underline,   overline, and lin...

How to Use CSS Outline Offset Property

Image
  How to Use CSS Outline Offset Property  How to Use CSS Outline Offset Property CSS outline-offset property is use to control the space between element.border and outline is line drawn around an element similar to border   ✅ Syntax : selector {   outline-offset: length; }   How to Use CSS Outline Offset Property Example <! DOCTYPE html > < html > < head > < style > .pro {   width : 250px ;   padding : 20px ;   margin : 40px ;   border : 3px solid red ;   outline : 4px solid blue ;   outline-offset : 15px ; } </ style > </ head > < body > < h2 > CSS Outline Offset Property </ h2 > < div class = "pro" >   < P > CSS Outline Offset Property. </ P >   < p > https://webdesigningtheory.blogspot.com/ </ p > </ div > </ body > </ html >  How to Use CSS Outline Offset Property  Explain Program

CSS Text Decoration Style Explained

Image
  CSS Text Decoration Style Explained CSS Text Decoration Style  Explained text-decoration-style property in css defines the pattern or design of text-decoration   line Why is Important   Creative link styles Highlighted text Error indicators Better UI effects How It Works Internally  It displays the text Calculates the baseline Draws the decoration line( underline / overline ) Applies the selected style pattern Applies color and thickness Real World Use   Custom link styling Highlight important words Education websites Error message indication ModernUI design Advantages Improves  design Adds creativity Better user experience Easy to implement Works in modern browsers Syntax : selector {   text-decoration-style: value; } CSS Text Decoration Style Explained Examples <! DOCTYPE html > < html > < head > < style > h1 {   text-decoration : overline ; } h2 {   text-decoration : line-through ; } ...

CSS text-transform Property

Image
 CSS text-transform Property Tutorial CSS text-transform Property  CSS text-transform property   is used to control capitalization of text. change text appears visually in browser without changing  the original HTML Content.  HTML text actual in stays same, but CSS change how is displayed. Syntax  selector {   text-transform: value; } CSS text-transform Property Structure Explained with  Diagram CSS text-transform Property  1) uppercase 2) lowercase 3)capitalize CSS text-transform Property Tutorial Example <! DOCTYPE html > < html > < head > < style >   .upper {     text-transform : uppercase ;   } .lower {   text-transform : lowercase ; } .cap {   text-transform : capitalize ; } </ style > </ head > < body > < h2 class = "upper" > css text transformation </ h2 > < p class = "lower" > CSS TEXT TRANSFORMATION PROPERTY </ p > < p class = "...

What is CSS Text Spacing in html

Image
What is CSS Text Spacing This Blog You Will Learn  ஃ  What is CSS Text Spacing in html ஃ  Syntax ஃ  Why CSS Text  Spacing is Important ஃ  Text Spacing controlled using CSS Properties. ஃ  What is CSS Text Spacing in html Examples ஃ  Explain Program ஃ  OutPut What is CSS Text Spacing in html CSS Text Spacing refers to controlling the space between letters, words, and lines inside text using CSS properties. ✅ Syntax : selector {   letter-spacing : value; } Why CSS Text  Spacing is Important   ✔   Improves Readability   ✔   Better User Experience   ✔   Professional Design   ✔   Responsive Design Text Spacing controlled using CSS Properties. 1)  letter-spacing 2)  word-spacing 3)  line-height 4)  text-indent 5)  white-space 1)  letter-spacing     Controls the space between characters(letters). selector {   letter-spacing: value...

CSS Text Shadow Property

Image
  CSS Text Shadow Property CSS text-shadow is property used to add a shadow effect to text. text look stylish ,attractive and sometimes easier to read. Syntax of Text Shadow   text-shadow: horizontal-shadow vertical-shadow blur-radius color; ✅  Horizontal  Shadow (Required) Positive value  ➡  right Negative value ➡  left ✅  Vertical Shadow (Required) Positive value   ➡  down Negative value  ➡  up ✅  Blur Radius (Optional) Controls Softness of shadow 0 ➡  sharp shadow ✅  Color (optional  but Recommended) Defines shadow color Why We Use Text Shadow   ✔   Enhance website Ul   ✔   Design attractive headings   ✔   Create 3D or glowing effects.   ✔   Improve text visibility Real World Use Website headings Logo design Hero section titles Buttons Banner text Why Use Text-shadow Improve text visibility Create 3D effect Create glow effect Make headings styli...

CSS Outline Width Property Explained

Image
 CSS Outline Width Property Explained This Blog You Will Learn  à®ƒ   What is CSS outline width  à®ƒ   Syntax:  à®ƒ   CSS Outline Width Property   Program   à®ƒ   Explain Program  à®ƒ   Output What is CSS outline width ✔  Outline-width property in css defines thickness of the outline drawn around element. ✔  Outline is a line that appears  outside the border  of an element. ✔  Mainly use highlight elements especially for focus states   Syntax: selector { outline-width: value; } outline to appear outline-style: value; CSS Outline Width Property  Program  <! DOCTYPE html > < html > < head > < style > p {   padding : 5px ;   outline-style : solid ;   outline-color : blue ; } p.box1 {   outline-width : thin ; } p.box2 {   outline-width : medium ; } p.box3 {   outline-width : thick ; } p.box4 {   outline...