Skip to main content

About us Page Using Html & Css Only


Video:


Source Code

:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&displa
y=swap" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
    <title>About Us Page</title>
</head>
<body>
    <div class="container">
        <div class="text">
            <h1>Code Incredible..</h1>
            <br><br>
            <p>
                Lorem ipsum dolor, sit amet consectetur adipisicing elit. Molestias 
aliquid et numquam blanditiis vitae! Illum quidem magni numquam minima, velit suscipit
, voluptatum accusantium, beatae animi inventore eveniet pariatur! Similique, recusan
dae.
                Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod ex di
stinctio soluta laboriosam sapiente consectetur illum nesciunt saepe fugiat porro vol
uptatibus placeat quisquam nobis, repudiandae praesentium sit fuga doloremque! Reicie
ndis.
                Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus mo

llitia dignissimos ab tempore in magnam doloremque illum atque corporis. Eaque facere
 labore reprehenderit, inventore optio quod quibusdam sit doloremque dignissimos?
                Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facilis m
axime eius animi repudiandae eveniet earum officiis, voluptatum quasi quos natus non 
laboriosam recusandae fugit enim adipisci. Sit, totam? Voluptates, aliquam!
            </p>

        </div>
        <div class="img">

        </div>
        <button class="btn">Read More</button>
    </div>
</body>
</html>

CSS

*{
    margin0;
    padding0;
    box-sizing: border-box;
}
body{
    background: gray;
    font-family'Dancing Script', cursive;
}
.container{
    background#ffffff;
    height95vh;
    width95%;
    position: absolute;
    top50%;
    left50%;
    transformtranslate(-50%,-50%);
}
.img{
    height100%;
    width30%;
    backgroundurl("bg.jpg")no-repeat;
    background-size: cover;
    background-position: center;
}
.text{
    width60%;
    padding10px 10px;
    position: absolute;
    top40%;
    left65%;
    transformtranslate(-50%,-50%);
    text-align: center;
    font-size20px;
}
.btn{
    position: absolute;
    top85%;
    left65%;
    transformtranslate(-50%,-50%);
    border: none;
    outline: none;
    font-family: Century Gothic;
    background: purple;
    border-radius15px;
    padding10px 20px;
    cursor: pointer;
    font-size: large;
    color#ffffff;
    width15%;
    transition0.3s ease;
}
.btn:hover{
    background#00a3e8;
}



Comments

Popular posts from this blog

Amazing 404 Error Page Using HTML & CSS

  Video: Source Code: <! DOCTYPE   html > < html   lang = "en" > < head >     < meta   charset = "UTF-8" >     < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >     < meta   http-equiv = "X-UA-Compatible"   content = "ie=edge" >     < title >Error! 404</ title > </ head > <style> * {     margin:  0 ;     padding:  0 ;     font-family: Nunito;     box-sizing:  border-box ; } body {     background:  linear-gradient (to  right ,  #48dbfb ,  #1dd1a1 );     display:  flex ;     align-items:  center ;     justify-content:  center ;     min-height:  100 vh ; } .box {     width:  40 % ;     background:  #0abde3 ;     padding:  50 px ;     text-align:  center ;     color:  #ffffff ;     border-radius:  8 px ;      box-shadow:  0   19 px   38 px   rgba ( 0 ,  0 ,  0 ,  .3 ),  0   15 px   12 px   rgba ( 0 ,  0 ,  0 ,  .22 ); } .box   h1 {     margi

Parallax Website using HTML And CSS

VIDEO: Source Code:      Images used: HTML: <! DOCTYPE   html > < html   lang = "en" > < head >      < meta   charset = "UTF-8" >      < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >      < link   rel = "stylesheet"   href = "style.css" >      < title > Parallax Website </ title > </ head > < body >      < div   class = "bg1" >          < h1 > Parallax </ h1 >      </ div >      < div   class = "bg2" >      </ div >      < div   class = "bg3" >      </ div >      </ body > </ html > CSS: * {      margin :  0 ;      padding :  0 ;      font-family : Century Gothic; } .bg1 {      height :  100 vh ;      width :  100 % ;      background :  url ( "photo1.jpg" )no-repeat;      background-size : cover;      background-attachment : fixed; } .bg