mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
<div class="card">
|
|
<div class="card-overlay"></div>
|
|
<div class="card-inner">YOUR<br>CONTENT<br>HERE</div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by LilaRest - Tags: neumorphism, skeuomorphism, minimalist, card, thick, rounded, smooth, noise, paper, realistic */
|
|
.card {
|
|
--bg: #e8e8e8;
|
|
--contrast: #e2e0e0;
|
|
--grey: #93a1a1;
|
|
position: relative;
|
|
padding: 9px;
|
|
background-color: var(--bg);
|
|
border-radius: 35px;
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
|
|
}
|
|
|
|
.card-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: repeating-conic-gradient(var(--bg) 0.0000001%, var(--grey) 0.000104%) 60% 60%/600% 600%;
|
|
filter: opacity(10%) contrast(105%);
|
|
}
|
|
|
|
.card-inner {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
width: 190px;
|
|
height: 254px;
|
|
background-color: var(--contrast);
|
|
border-radius: 30px;
|
|
/* Content style */
|
|
font-size: 30px;
|
|
font-weight: 900;
|
|
color: #c7c4c4;
|
|
text-align: center;
|
|
font-family: monospace;
|
|
}
|
|
</style>
|