You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS rules that depend on specific HTML structures should describe those structures using <element#id.class:pseudo> notation. For example:
// A feed of activity items. Within each <section.feed>, there should be many
// <article>s which are the feed items.
But the spec doesn't indicate how those pseudo-HTML blocks should be displayed in the output of a generated styleguide.
I'm assuming they should be output as plain-text, escaped, and not actually inserted as HTML?
Personally, I would actually prefer if there was some way to include raw HTML examples right in the KSS docs. I think keeping the HTML next to the CSS could – in certain cases – be helpful.
The text was updated successfully, but these errors were encountered:
According to the spec:
But the spec doesn't indicate how those pseudo-HTML blocks should be displayed in the output of a generated styleguide.
I'm assuming they should be output as plain-text, escaped, and not actually inserted as HTML?
Personally, I would actually prefer if there was some way to include raw HTML examples right in the KSS docs. I think keeping the HTML next to the CSS could – in certain cases – be helpful.
The text was updated successfully, but these errors were encountered: