diff options
Diffstat (limited to 'src/scss/components/_box.scss')
-rwxr-xr-x | src/scss/components/_box.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/scss/components/_box.scss b/src/scss/components/_box.scss new file mode 100755 index 0000000..771af92 --- /dev/null +++ b/src/scss/components/_box.scss @@ -0,0 +1,14 @@ +// Group of `.box` +// Add margin when `.box` are in `.box-group` +.boxes { + margin-top: 20px; + + .box:nth-child(n + 2) { + margin-top: 20px; + } +} + +// Box +.box { + border-bottom: 1px solid #eef2f8; +}
\ No newline at end of file |