diff options
Diffstat (limited to 'day9/task5/static/css/ContentBoxStyle.css')
| -rw-r--r-- | day9/task5/static/css/ContentBoxStyle.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/day9/task5/static/css/ContentBoxStyle.css b/day9/task5/static/css/ContentBoxStyle.css new file mode 100644 index 0000000..78c37d6 --- /dev/null +++ b/day9/task5/static/css/ContentBoxStyle.css @@ -0,0 +1,26 @@ +.contentBox { + padding: 20px; + width: 500px; + height: 520px; + background-color: #f0f0f0; + border-radius: 10px; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); +} + +.backgroundTint { + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.6); +} + +.shown { + display: inline; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.hidden { + display: none; +}
\ No newline at end of file |