1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 18:56:29 +02:00
Files
csslayout/styles/patterns/_presence-indicator.scss
2022-10-02 17:36:49 +07:00

26 lines
472 B
SCSS

.presence-indicator {
position: relative;
/* Demo */
background-color: #d1d5db;
border-radius: 9999px;
height: 6rem;
width: 6rem;
}
.presence-indicator__indicator {
/* Shown at the bottom right corner */
bottom: 0;
position: absolute;
right: 0;
transform: translate(50%, 50%);
/* Rounded border */
border-radius: 9999px;
height: 1rem;
width: 1rem;
/* Background color */
background-color: #22c55e;
}