diff options
| author | Priyansh <[email protected]> | 2020-11-11 19:57:21 +0530 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2020-11-11 19:57:21 +0530 |
| commit | e135a8d784799028d268cdc00f5c4147621ca979 (patch) | |
| tree | 84310c8c209d0ed2fea07fb729b91956dbafb0e8 | |
| parent | 99cc1e6f308756cefcf3f6e6b41ce636c55069ca (diff) | |
| download | nineties-computing-e135a8d784799028d268cdc00f5c4147621ca979.tar.xz nineties-computing-e135a8d784799028d268cdc00f5c4147621ca979.zip | |
layouts for bordered box, centered box and paddings
| -rw-r--r-- | css/layouts.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/css/layouts.css b/css/layouts.css index 5994303..d4496b6 100644 --- a/css/layouts.css +++ b/css/layouts.css @@ -3,4 +3,30 @@ height: 100vh; max-width: 100%; max-height: 100vh; + z-index: 1; + position: relative; + overflow: hidden; } + +.fullscreen_centered { + z-index: 2; + margin: calc(25vh - 25px) auto 0px auto; +} + +.height_100-55 { + height: calc(100% - 55px); +} + +.mediumbox { + width: 50vh; + height: 50vh; +} + +.padding_25 { + padding: 25px; +} + +.bordered_4px { + border: 4px solid #383838; +} + |
