From e135a8d784799028d268cdc00f5c4147621ca979 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Wed, 11 Nov 2020 19:57:21 +0530 Subject: layouts for bordered box, centered box and paddings --- css/layouts.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'css') 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; +} + -- cgit v1.2.3