1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 19:26:26 +02:00

feat: Stamp border

This commit is contained in:
Phuoc Nguyen
2022-09-19 23:16:12 +07:00
parent 7a94e81e9d
commit cf1efe7608
7 changed files with 75 additions and 124 deletions

View File

@@ -0,0 +1,23 @@
.stamp-border {
/* Background */
background-color: #d1d5db;
background-image: radial-gradient(#fff 50%, transparent 50%);
background-position: -0.25rem -0.25rem;
background-repeat: repeat;
background-size: 0.5rem 0.5rem;
/* Spacing */
padding: 0.25rem;
/* Demo */
height: 100%;
width: 100%;
}
.stamp-border__content {
/* Background */
background-color: #d1d5db;
height: 100%;
width: 100%;
}