Rename .u-* to .util-*

I'm using Skeleton (it's great!) in a project that also deals with microformats2, which specifies that `u-*` classnames are used to indicate url properties of machine readable markup.

Renaming `.u-*` to `.util-*` avoids this issue while potentially making it clearer that these are utility classes that apply inline styles.

Kevin Marks has a great detailed explanation of the issue here: http://www.kevinmarks.com/u-means-style.html
This commit is contained in:
Marty McGuire 2017-03-14 22:30:18 -04:00 committed by GitHub
parent 88f03612b0
commit 1566f50f30

10
css/skeleton.css vendored
View File

@ -359,15 +359,15 @@ form {
/* Utilities
*/
.u-full-width {
.util-full-width {
width: 100%;
box-sizing: border-box; }
.u-max-full-width {
.util-max-full-width {
max-width: 100%;
box-sizing: border-box; }
.u-pull-right {
.util-pull-right {
float: right; }
.u-pull-left {
.util-pull-left {
float: left; }
@ -386,7 +386,7 @@ hr {
/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
.util-cf {
content: "";
display: table;
clear: both; }