Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesigned Grid #9

Closed
cferdinandi opened this issue Oct 15, 2013 · 1 comment
Closed

Redesigned Grid #9

cferdinandi opened this issue Oct 15, 2013 · 1 comment

Comments

@cferdinandi
Copy link
Owner

Maintain the 6 column grid, but add styling to specific classes for better performance.

This:
[class^="grid-"],
[class_=" grid-"] {
/_ Styles */
}

Becomes:
.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6 {
/* Styles */
}

@cferdinandi
Copy link
Owner Author

Added in v2.5.

Regex-style pseudo selectors are much slower to render. Explicitly naming classes is less condense by far more performant. Learn more.

yyolk pushed a commit to yyolk/kraken that referenced this issue Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant