Update skeletion.css

1.  Change .six.columns { width: 48%;  } to .six.columns { width: 48%; margin-left: calc(50% - 24%); } 
Note:  If you want center, middle, vertical-align:middle.

 Answer in : https://stackoverflow.com/questions/55544528/how-to-center-align-vertically-to-center-and-middle-with-skeleton-css-boilerpla
This commit is contained in:
PedroGuilherme 2019-04-05 23:52:12 -03:00 committed by GitHub
parent 88f03612b0
commit 3ec4e7a073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
css/skeleton.css vendored
View File

@ -65,7 +65,7 @@
.three.columns { width: 22%; } .three.columns { width: 22%; }
.four.columns { width: 30.6666666667%; } .four.columns { width: 30.6666666667%; }
.five.columns { width: 39.3333333333%; } .five.columns { width: 39.3333333333%; }
.six.columns { width: 48%; } .six.columns { width: 48%; margin-left: calc(50% - 24%); } /* if you want center, middle, vertical-align: middle */
.seven.columns { width: 56.6666666667%; } .seven.columns { width: 56.6666666667%; }
.eight.columns { width: 65.3333333333%; } .eight.columns { width: 65.3333333333%; }
.nine.columns { width: 74.0%; } .nine.columns { width: 74.0%; }