Tokenizing CSS for Forms 2.0 | Community
Skip to main content
February 19, 2014
Duplicate

Tokenizing CSS for Forms 2.0

  • February 19, 2014
  • 3 replies
  • 1358 views
Has anyone tried using a token or series of tokens to replace/override styles for a Forms 2.0 form? It seems like a great way to make 2.0 forms even more flexible based on specific needs, like a sub-brand, or product line.

3 replies

New Participant
February 7, 2020
No text available
February 19, 2014
Awesome. 
February 19, 2014
I like your suggestion. Just tried it on a responsive CSS. It works great. 

@media (min-width: 1200px) {
     .mktoForm .mktoFormCol{
            width: {{my.1200 pixels}} !important;
     }
}


This allows me to make variable style sheets via tokens. Awesome!