Skip to content

Commit

Permalink
Add background color
Browse files Browse the repository at this point in the history
  • Loading branch information
wayungi committed Jul 24, 2022
1 parent 577167f commit 19e264d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import pattern from './images/bg-pattern.jpg';
import './style.css';

import {
addTask,
getTasks,
Expand Down
5 changes: 5 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ header {
box-sizing: border-box;
}

body {
background-color: rgba(5, 247, 243, 0.2);
}

.wrapper {
display: flex;
width: 70%;
margin: 4% auto;
box-shadow: 0 0 5px 2px rgba(140, 140, 140, 0.5);

}

header {
Expand Down
6 changes: 1 addition & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ module.exports = {
},
{
test: /\.(png|svg|jpg|jpeg|gif)$/i,
use: [
{
loader: 'file-loader',
},
],
type: 'asset/resource',
},
],
},
Expand Down

0 comments on commit 19e264d

Please sign in to comment.