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:
23
styles/patterns/_stamp-border.scss
Normal file
23
styles/patterns/_stamp-border.scss
Normal 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%;
|
||||
}
|
||||
Reference in New Issue
Block a user