update home page
This commit is contained in:
59
test-cutout.html
Normal file
59
test-cutout.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body { background: #ccc; padding: 50px; }
|
||||
.card {
|
||||
position: relative;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background: #333;
|
||||
border-radius: 25px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.iconWrapper {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: #FFFFFF;
|
||||
border-top-left-radius: 30px;
|
||||
padding: 10px 10px 0 10px;
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.iconWrapper::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
right: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: radial-gradient(circle at 0 0, transparent 20px, #ffffff 20px);
|
||||
}
|
||||
.iconWrapper::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: -20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: radial-gradient(circle at 0 0, transparent 20px, #ffffff 20px);
|
||||
}
|
||||
.button {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 50%;
|
||||
background: #111;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="card">
|
||||
<div class="iconWrapper">
|
||||
<div class="button"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user