Skip to content

Commit 955317e

Browse files
committed
add container - Main App Area
1 parent 5b52b08 commit 955317e

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media (max-width: 768px) {
2+
div.container {
3+
width: 90%;
4+
}
5+
}

Mini ToDoList App Page/css/style.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ html {
2222

2323
body {
2424
font-family: var(--primary-font), sans-serif;
25+
background-color: var(--white-color);
26+
height: 100vh;
2527
display: flex;
28+
flex-flow: column nowrap;
2629
justify-content: center;
2730
align-items: center;
28-
justify-items: center;
2931
}
3032

3133
* {
@@ -95,3 +97,12 @@ a.button:hover:after {
9597
}
9698
/* End Of PublicItems */
9799
/* End Of Reset CSS */
100+
/* Body */
101+
div.container {
102+
width: 60%;
103+
height: 75vh;
104+
background-color: white;
105+
border-radius: var(--default-radius);
106+
box-shadow: 3px 6px 10px 3px rgba(0, 0, 0, 0.15);
107+
}
108+
/* End Of Body */

Mini ToDoList App Page/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<title>Mini ToDoList App Page</title>
4848
</head>
4949
<body>
50+
<div class="container"></div>
5051
<button><a href="#" class="button">Test Button</a></button>
5152
<div id="root"></div>
5253
<script src="./js/main.js"></script>

0 commit comments

Comments
 (0)