dhg / Skeleton

Skeleton: A Dead Simple, Responsive Boilerplate for Mobile-Friendly Development
http://www.getskeleton.com
MIT License
19.08k stars 3.15k forks source link

Update skeleton.css #384

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi, how are you?

Description I had a problem and I solved it. I hope it's added.

Summary

  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.

2- Or change .six.columns { width: 48%; } to .six.columns { width: 48%; / width: 100%; / } 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