basic html and css practice 1st day code repo

 basic HTML and CSS for respective files💪💪💪💪💪💪📮📮📮



HTML CODE 
  <!DOCTYPE html>
<html>
<head> 
    <img class="logo1" id="logo1" src="logo.jpg" alt="logo" >
    <link rel="stylesheet" href="styles.css">
    <meta name="viewport" contents="width = device-width,initial-scale=1.0">
</head>
<body>
<div class="bd1">
    The body text or body copy is the text forming the main content of a book, 
    magazine, web page, or any other printed or digital work. This is as a contrast to both 
    additional components such as headings, images, charts, footnotes etc. 
    on each page, and also the pages of front matter that form the introduction to a book.
    The body text or body copy is the text forming the main content of a book, magazine, web page, 
    or any other printed or digital work. This is as a contrast to both additional components such as 
    headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book
<br></hr >
  .The body text or body copy is the text forming the main content of a book, magazine, web page, or
     any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.The body text or body copy is the text forming the main content of a book, magazine, web page, or any other printed or digital work. This is as a contrast to both additional components such as headings, images, charts, footnotes etc. on each page, and also the pages of front matter that form the introduction to a book.
    </div>
    



</body>



</html>



CSS code for it
body{
margin0;
padding : 2px;
box-sizingborder-box;
background:  linear-gradient(to rightrgba(255,0,0,0), rgb(0195255));
}
section{
witdth : 90%;
height : 90%
}
head{
    font-family'Yatra One';
    font-sizexx-large;
    font-stretchsemi-condensed;
    text-alignjustify;
}
.bd1{
    padding20px;
    text-transforminherit;
    text-aligncenter
    backgroundlightskyblue;       
    positionabsolute
            top15%
            left10%
            right10%
           
}
.logo1{
   margin10px;
   floatleft;
   width180px;
logo1:hover{
   
    transformtranslateX(20px);
    transition3s;
}
#div1.2{
    padding30px;
    backgroundblue;
}

Comments

Popular posts from this blog

My first MERN code