Box
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 - 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;
}
Developer | Vikas Chauhan |
Username | vikasford |
Uploaded | September 01, 2022 |
Rating | 3 |
Size | 2,006 Kb |
Views | 54,648 |
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!
Name | Size |
Smooth state animation | 1,541 Kb |
Css3 button | 1,851 Kb |
A pure CSS navigation menu | 1,926 Kb |
A Pen by Vikas Chauhan | 2,093 Kb |
Working with Ink Framework. It is very good. | 23,843 Kb |
Google in Material Design | 2,648 Kb |
Animated css menu | 1,782 Kb |
Xmas tree svg | 2,696 Kb |
CSS MENU | 1,987 Kb |
Css clock | 1,789 Kb |
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!
Name | Username | Size |
A Pen by John Malc | F789gh | 1,420 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Right Click Menu | Anodpixels | 2,252 Kb |
A Pen by MurabitoB | MurabitoB | 4,421 Kb |
CSS Tooltips | Darylldoyle | 2,599 Kb |
Birthday Party Starter | Aussieyang | 1,629 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!