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

Numbered classes in attribute selectors are ignored - Mailchimp #1

Open
ivandurst opened this issue May 7, 2015 · 0 comments
Open

Comments

@ivandurst
Copy link

Today I noticed a mailchimp issue that caused some of your classes to be ignored. When you use attribute selectors in Mailchimp, such as

*[class="100p"] {
  width: 100% !important;
  height: auto !important;
}

Mailchimp strips out the quotes, so you're left with *[class=100p]. Attribute selectors that begin with numbers and aren't quoted are invalid, and are ignored. Just a heads up, as I've also seen these class names in a Litmus article about "how to build an email from scratch," and this will baffle any newer developers working with Mailchimp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant