Skip to content

MLSC-BSOITR/Web-site

Repository files navigation

Website

https://hacktoberfest.com/

EXAMPLE- TO CHANGE THE SIZE OF FONT

p.c{

   font-size:12px 

}

EXAMPLE-1 TO CHANGE THE STYLE OF FONT

  p.c {
      font-style: oblique;
      }

Example-2 TO SPECIFY THE WEIGHT OF A FONT

  p.c {
      font-weight: normal;
      }
  p.c {
      font-weight: bold;
      }

Example-3 TO CHANGE THE MARGIN AND ITS COLOUR

  p.c {
       margin: 35px;
       border: 1px solid red;
       }

   p.c {
       margin: 40px;
       border: 2px blue;
      }
       }

EXAMPLE-4 TO CHANGE THE BACKGROUND COLOUR, HEADING COLOUR AND PARAGRAPH COLOUR TO BLUE

     body {
          background-color: powderblue;
          }
     h1 {
        color: blue;
        }
     p {
       color: red;
       }

EXAMPLE-5 TO CHANGE THE FONT TYPE INTO 'Courier New' FONT

   <p style="font-family:'Courier New'">This is another paragraph.</p>

EXAMPLE-5 TO CHANGE THE COLOR OF THE BUTTON TO DARK BLUE AND PADDING

    .btn{
        color:#020C7E;
        padding: 12px 15px;
        }

EXAMPLE-6 BY APPLYING INLINE CSS CHANGING THE TEXT COLOR TO BLUE

    <p style="color:blue;">It will be useful here.</p>