Design contain website using CSS3 Custom

Design contain website using CSS3 Custom


1.index.html

<<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Webdesign</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> <!-- link css --> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="container my-5"> <!--Section: Content--> <section class="text-center dark-grey-text"> <!-- Section heading --> <h3 class="font-weight-bold pb-2 mb-4">Our pricing plans</h3> <!-- Section description --> <p class="text-muted w-responsive mx-auto mb-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugit, error amet numquam iure provident voluptate esse quasi, veritatis totam voluptas nostrum quisquam eum porro a pariatur veniam.</p> <!-- Grid row --> <div class="row"> <!-- Grid column --> <div class="col-lg-4 col-md-12 mb-4"> <!-- Card --> <div class="card"> <!-- Content --> <div class="card-body"> <!-- Offer --> <h5 class="mb-4">Basic plan</h5> <div class="d-flex justify-content-center"> <div class="card-circle d-flex justify-content-center align-items-center"> <i class="fas fa-home light-blue-text"></i> </div> </div> <!-- Price --> <h2 class="font-weight-bold my-4">59$</h2> <p class="grey-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa pariatur id nobis accusamus deleniti cumque hic laborum.</p> <a class="btn btn-light-blue btn-rounded">Buy now</a> </div> <!-- Content --> </div> <!-- Card --> </div> <!-- Grid column --> <!-- Grid column --> <div class="col-lg-4 col-md-6 mb-4"> <!-- Card --> <div class="card purple-gradient"> <!-- Content --> <div class="card-body white-text"> <!-- Offer --> <h5 class="mb-4">Premium plan</h5> <div class="d-flex justify-content-center"> <div class="card-circle d-flex justify-content-center align-items-center"> <i class="fas fa-users"></i> </div> </div> <!--Price --> <h2 class="font-weight-bold my-4 colorwr">79$</h2> <p style="color: white;">Esse corporis saepe laudantium velit adipisci cumque iste ratione facere non distinctio cupiditate sequi atque.</p> <a class="btn btn-color">Buy now</a> </div> <!-- Content --> </div> <!-- Card --> </div> <!-- Grid column --> <!-- Grid column --> <div class="col-lg-4 col-md-6 mb-4"> <!-- Card --> <div class="card"> <!-- Content --> <div class="card-body"> <!-- Offer --> <h5 class="mb-4">Advanced plan</h5> <div class="d-flex justify-content-center"> <div class="card-circle d-flex justify-content-center align-items-center"> <i class="far fa-chart-bar light-blue-text"></i> </div> </div> <!--Price --> <h2 class="font-weight-bold my-4">99$</h2> <p class="grey-text">At ab ea a molestiae corrupti numquam quo beatae minima ratione magni accusantium repellat eveniet quia vitae.</p> <a class="btn btn-light-blue btn-rounded">Buy now</a> </div> <!-- Content --> </div> <!-- Card --> </div> <!-- Grid column --> </div> <!-- Grid row --> </section> <!--Section: Content--> </div> <script src="https://kit.fontawesome.com/a076d05399.js"></script> </body> </html>

2.styles.css

.row { border-radius: 1px !important; } .mb-4, .my-4 { margin-bottom: 1.5rem!important; } *, ::after, ::before { box-sizing: border-box; } .card { font-weight: 400; border: 0; -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); } .card { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0,0,0,.125); border-radius: .25rem; } .card-body { -ms-flex: 1 1 auto; flex: 1 1 auto; min-height: 1px; padding: 1.25rem; } .text-center { text-align: center!important; } .card .card-circle { width: 7.5rem; height: 7.5rem; border: 2px solid #e0e0e0; border-radius: 50%; } .align-items-center { -ms-flex-align: center!important; align-items: center!important; } .justify-content-center { -ms-flex-pack: center!important; justify-content: center!important; } .card .card-circle .fas, .card .card-circle .fab, .card .card-circle .far { font-size: 4rem; font-size: 4rem; color: white; } .light-blue-text { color: #03a9f4 !important; } .fa, .fas { font-weight: 900; } .fa, .far, .fas { font-family: "Font Awesome 5 Free"; } .fa, .fab, .fal, .far, .fas { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; } .btn-light-blue:focus, .btn-light-blue:active, .btn-light-blue.active { background-color: #1c71ff; } .btn-light-blue { color: #fff !important; background-color: #9cc1ff !important; padding: 8px 15px; border-radius: 3.125rem; font-weight: 900; } .btn-light-blue:hover { color: #fff !important; background-color: #015cfa !important; padding: 8px 15px; border-radius: 3.125rem; font-weight: 900; } .purple-gradient { background: linear-gradient(40deg, #ff6ec4, #7873f5) !important; } .colorwr { color:white; } .btn-color { color: white !important; background-color: #eb9718 !important; border-radius: 3.23rem; padding: 8px 15px; font-weight: 900; } .btn-color:hover { color: white !important; background-color: #8518eb !important; border-radius: 3.23rem; padding: 8px 15px; font-weight: 900; } @media (min-width: 992px){ .col-lg-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; } }

Reactions

Post a Comment

0 Comments

close