Is there CLASS support for HTML5 and CSS elements?« Back to Questions List

Why are all elements are built on ID TAG'S? Can't I set some elements to work as CLASS TAG'S?

Example:

I have five buttons on a page, that has the same CSS Style. After exporting our work, ExportKit gave us back 5 buttons, with the same css. Using Class Tag, we should have one.

Added June 20, 2014 8:03 pm

Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!

We used to allow for layers with similar names to use the same class attribute, problem was users would rename layers with the same name, and change the contents in their layer copy – which would then give unexpected results in the output – so we removed it.

Class Tag - Version 1.2.6

We have added 2 new Layer Tags in v126 to support CSS classes:

  • ${class|styles} - FOLDERS ONLY
  • ${class|style:[STYLE_NAME]} - ANY LAYER

These will allow you to create custom CSS classes, templates and themes for use with any WordPress, HTML5 or CSS export. We will add support for JavaScript and jQuery in v127.

You can preview the new Class Tag here: PSD to CSS3 Styles and Classes

Answer by admin
Answered On June 20, 2014 8:06 pm #
Looking for another answer? View other questions in CSS or get premium support for guaranteed results.
Asked by luizfilipe★★★
1656 views
1 answer
Last Answered 10 years ago by admin

Categories

Recent Answers

asked by Ali Sodikin
asked by indian
asked by Gts
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.