Set the width, line style and color properties for an outline in a single statement with CSS

CSSWeb DevelopmentFront End Technology

The outline property is a shorthand property that allows you to specify values for multiple properties such as width, line style, and color of the outline.


      <p style = "outline:thin solid green;">
         This text is having thin solid freen outline.
      <br />
      <p style = "outline:thick dashed #009900;">
         This text is having thick dashed green outline.
      <br />
Published on 17-Apr-2018 12:57:32