1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-29 12:26:09 +01:00
Files
csslayout/styles/patterns/_docked-at-corner.scss
Phuoc Nguyen 37a6729d08 feat: Chip
2022-09-21 08:55:08 +07:00

25 lines
468 B
SCSS

.docked-at-corner {
position: relative;
height: 4rem;
width: 80%;
border: 1px solid #d1d5db;
border-radius: 0.25rem;
}
.docked-at-corner__docker {
background-color: #22c55e;
border-radius: 9999px;
position: absolute;
right: 0;
top: 0;
transform: translate(50%, -50%);
/* Center the content */
align-items: center;
display: flex;
justify-content: center;
/* Size */
height: 1rem;
width: 1rem;
}