Blog-Home

This blog is for everybody that loves technology

Card Design in HTML and CSS With Source Code

Card Design in HTML and CSS

Card Design in HTML and CSS





Card Design in HTML and CSS In this article, I am going to tell you how you can create a very beautiful HTML website in HTML with simple steps. you just need to write a simple code of text to create this HTML website. we will use in this code HTML and simple internal CSS.




First of all, you have to create a folder, where you want to create a save you file of code and then drag it or open it on your text editor, after that you have to save this file by giving any name with the extension name HTML.

After saving this file, you just write a simple structure of HTML and create content and follow the code which is given below.




On this website, there is a logo, some headings, paragraphs, a button, and a login form. This website is completely made in HTML and CSS. You can use this website in your work, projects, or others. This Website template is free to use. This website is of a Web design and development company. Every IT Company can use this website template according to their needs and requirements.




Below is the code provided to make this website template. This is a single-page website template that is made in HTML and CSS.

If you want to make changes to this code then you have to simply copy it and paste it into your default text editor and then you can modify this and make changes according to their needs and requirements.



<!DOCTYPE html>
<html>
<head>
<title>card Design in HTML and CSS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700;900&display=swap" rel="stylesheet">
</head>
<style type="text/css">
*
{
margin: 0;
padding: 0;
overflow: hidden;
transition: 0.5s;
font-family: 'Jost', sans-serif;
}
body
{
width: 100vw;
height: 100vh;
background: #131e14;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.box
{
width: 300px;
height: 550px;
border-radius: 10px;
background-color: #fff;
}
.content
{
width: 100%;
height: 70%;
background: linear-gradient(to bottom, rgb(247 38 72), rgb(252 203 60));
}
.content .logo
{
width: 50px;
margin-top: 20px;
margin-left: 20px;
}
.content h2
{
color: #131e14;
padding-left: 20px;
padding-top: 10px;
}
.content p
{
padding: 20px 20px;
color: #fff;
}
.shoe
{
width: 300px;
position: absolute;
top: 300px;
left: 520px;
}
.footer
{
text-align: center;
}
.btn
{
width: 150px;
height: 45px;
border: none;
background: #131e14;
border-radius: 10px;
color: #fff;
font-weight: 500;
font-size: 15px;
margin-top: 50px;
}
.footer p
{
padding-top: 10px;
font-weight: 700;
}
</style>
<body>
<div class="box">
<div class="content">
<img class="logo" src="logo.png">
<h2>Air Structure 1</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</p>
<img class="shoe" src="1.png">
</div>
<div class="footer">
<button class="btn">Add to Whislist</button>
<p>Man's Running Shoe</p>
</div>
</div>
</body>
</html>





Here we completed our tutorial Website Template in HTML and CSS.

If you face any problem please feel free to contact us.

Thanks for reading our post.

If you like this article then please share it with your friends.



Also Read:

Make Our Team Section in HTML and CSS

Card Design in HTML CSS With Source code




Leave a Comment

Your email address will not be published. Required fields are marked *

WE CREATES WEBSITES

LEARN WEBSITE DESIGNING COURSE
ONLINE

We will teach you html5, css3, photoshop, bootstrap, media query, wordpress, sql, php.

Sandeep Gahlot
My Recent Posts
Scroll to Top