Sunday 7 March 2021

CSS TUT-4 How To Give Beautiful Heights, Widths, Border , Border-Radius and Background In HTML Using CSS ?

 How To Give Beautiful Heights, Widths,Border,Border-Radius and Background In HTML Using CSS ?

CSS  Design

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Height,width,border and backgrounds</title>
    <style>
        p{
        background-colorbrown;
    height400px;
width300px;
border-radius10px;
border:black;
border-stylesolid;
}
        #secondpara{
        background-color:green;
    height254px;
width300px;
border-radius10px;
border-bottomrgb(14115231);
border-leftrgb(23614713);
border-rightrgb(324876);
border-bottomrgb(23811162);
border-bottom-left-radius5px;
border-bottom-right-radius15px;

}

#image{colorred;
    bordersolid,black;
height630px;
width630px;
background-colorwhite;
background-imageurl(https://miro.medium.com/max/1200/1*pE2fOVDikEUwiQJlh4ggzg.jpeg);
background-repeatno-repeat;
background-positioncenter top;
}
#button{
    bordersolid;
    height25px;
    width25px;
    background-color:red;
}




    </style>
</head>
<body>
    <h2>This is backgrounds colors</h2>
    <p >This is my frist ever para written</p>
    <p id="secondpara">This is my second para</p>
<h2>This is third para for img</h2>
<p id="image">This is my image</p>
<h3>This is button to tap to enter in google </h3>
<a id="button" href="https://Google.com" target="_blank">Go To The Google Site Tap On It</a>


    
</body>
</html>


No comments:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...