Box

Developer
Size
2,006 Kb
Views
54,648

How do I make an box?

Css based with background gradient, absolute position and box-shadow.. What is a box? How do you make a box? This script and codes were developed by Vikas Chauhan on 01 September 2022, Thursday.

Box Previews

Box - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Box</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <main> <section> <article> <h1>Vikas Chauhan</h1> <h2>Welcome to My Box!</h2> </article> </section> </main>
</body>
</html>

Box - Script Codes CSS Codes

@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
body { background: #f2f2f2; -webkit-perspective: 600px;
background: #ccc; margin: 20px;
}
main { width:100%; height:50vh; margin:50px auto;
}
h1 { text-align:center; font-family:Lato; font-weight:700; color:#777;
padding-top:45px;
text-transform: uppercase;
}
h2{
text-align:center; font-family:Lato; font-weight:normal; color:#777;
text-transform: uppercase; line-height: 1em;
}
section { height:100%; width:100%; border-radius:10px; position:relative; background: #007aff;
background: -moz-linear-gradient(-45deg, #5ac8fb 0%, #52edc7 51%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(161,20,96,1)), color-stop(51%,rgba(66,20,95,1)));
background: -webkit-linear-gradient(-45deg, rgba(161,20,96,1) 0%,rgba(66,20,95,1) 51%); box-shadow:0px 16px 31px -8px black;
}
article { height:76.923%; width:85%; position:relative; top:11.538%; left:7.5%; background: #F7F7F7; border-radius: 4px;
text-align: center; letter-spacing: 0.05em;
}
.article:before, .article:after{
content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); border-radius: 50px; opacity: 0;
}
Box - Script Codes
Box - Script Codes
Home Page Home
Developer Vikas Chauhan
Username vikasford
Uploaded September 01, 2022
Rating 3
Size 2,006 Kb
Views 54,648
Do you need developer help for Box?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Vikas Chauhan (vikasford) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!