Click here to Get Source code
This is Css code:
@import url('https://fonts.googleapis.com/css?famliy=popins:100,200,300,400,500,600,700,800,900');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'popins',sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
/* background-color: #0e1538; */
background-image: radial-gradient(circle at center center,
transparent,rgb(33,33,33)),repeating-linear-gradient(135deg, rgb(33,33,33) 0px,
rgb(33,33,33) 2px,transparent 2px, transparent 10px,rgb(33,33,33) 10px,
rgb(33,33,33) 11px,transparent 11px, transparent 21px),
repeating-linear-gradient(45deg, rgb(47,47,47) 0px,
rgb(47,47,47) 4px,transparent 4px, transparent 8px),
linear-gradient(90deg, rgb(33,33,33),rgb(33,33,33));
}
.box{
position: relative;
width: 300px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(0, 0, 0,0.5);
overflow: hidden;
border-radius: 20px;
box-shadow: 4px 4px 6px rgba(131, 28, 28, 0.5);
}
.box::before{
content:"";
position: absolute;
width: 150px;
height: 120%;
background: linear-gradient(#ff3402,#fffefe);
animation: animate 3s linear infinite;
}
.box::after{
content:'';
position: absolute;
inset: 4px;
/* background-color: #0e1538; */
background-image: radial-gradient(circle at center center,
transparent,rgb(33,33,33)),repeating-linear-gradient(135deg, rgb(33,33,33) 0px,
rgb(33,33,33) 2px,transparent 2px, transparent 10px,rgb(33,33,33) 10px,
rgb(33,33,33) 11px,transparent 11px, transparent 21px),
repeating-linear-gradient(45deg, rgb(47,47,47) 0px,
rgb(47,47,47) 4px,transparent 4px, transparent 8px),
linear-gradient(90deg, rgb(33,33,33),rgb(33,33,33));
}
@keyframes animate{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
.box h2{
color: #fff;
font-size: 5em;
z-index: 10;
text-shadow:12px 6px 10px rgba(131, 28, 28, 0.5); ;
}
this is HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="okkay.css">
<title>Document</title>
</head>
<body>
<div class="box">
<h2>Ellina</h2>
</div>
</body>
</html>
cerated by Ellina Khan
No comments:
Post a Comment