Skip to content

Commit 1d4ad56

Browse files
committed
Does this work (C) whatthecommit.com
1 parent 250d18c commit 1d4ad56

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

css-boxing-model-and-layout-basics/src/main.css

+4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ main {
3131
width: 65.4%;
3232
background-color: #0086C6;
3333
margin: 30px 0;
34+
/* to place tex in center you can use text-align,
35+
but to place whole block in center you can use
36+
margin auto for left and right */
3437
margin-left: auto;
38+
margin-right: auto;
3539
}
3640

3741
main h3 {

parcel-starter/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"devDependencies": {
3333
"babel-preset-env": "1.7.0",
3434
"babel-preset-stage-0": "6.24.1",
35-
"browser-sync": "2.24.6",
36-
"gh-pages": "1.2.0",
35+
"browser-sync": "2.26.7",
36+
"gh-pages": "2.2.0",
3737
"ncp": "2.0.0",
38-
"npm-run-all": "4.1.3",
38+
"npm-run-all": "4.1.5",
3939
"parcel-bundler": "1.12.4",
40-
"rimraf": "2.6.2"
40+
"rimraf": "3.0.2"
4141
},
4242
"dependencies": {
4343
"css-reset-and-normalize-sass": "0.1.2",

simple-starter/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"author": "Maksim Kostromin <[email protected]> (https://github.com/daggerok)",
2323
"license": "MIT",
2424
"devDependencies": {
25-
"browser-sync": "2.24.6",
26-
"gh-pages": "1.2.0",
25+
"browser-sync": "2.26.7",
26+
"gh-pages": "2.2.0",
2727
"ncp": "2.0.0",
28-
"npm-run-all": "4.1.3",
29-
"rimraf": "2.6.2"
28+
"npm-run-all": "4.1.5",
29+
"rimraf": "3.0.2"
3030
}
3131
}

0 commit comments

Comments
 (0)