I agree, this was a really insightful article. The historical context provided a great foundation for understanding the current challenges the company is facing.
Includes styles for comments, for example for a blog section on your site.
The Comment component consists of the comment itself, a comment header, including an avatar, a title and meta text, and a comment body.
| Class | Description |
|---|---|
.z-comment | Add this class to define the Comment component. |
.z-comment-body | Add this class to create a comment body. |
.z-comment-header | Add this class to create a comment header. |
.z-comment-title | Add this class to a heading to create a comment title. |
.z-comment-meta | Add this class to create meta text about your comment. |
.z-comment-avatar | Add this class to an <img> element to create an avatar for the comment author. |
<article class="z-comment">
<header class="z-comment-header">
<div class="z-comment-avatar">
<img src="" alt="" />
</div>
<div class="z-comment-title"></div>
<ul class="z-comment-meta z-subnav"></ul>
</header>
<div class="z-comment-body"></div>
</article>I agree, this was a really insightful article. The historical context provided a great foundation for understanding the current challenges the company is facing.
To style a comment differently, for example to highlight it as the admin’s comment, just add the .z-comment-primary class.
<article class="z-comment z-comment-primary">...</article>This is a great article! I really enjoyed reading about the history of the company and the challenges they faced. The insights provided are valuable for anyone interested in the industry.
Add the .z-comment-list class to a <ul> element to create a list of comments. You can nest any number of <ul> elements inside a comment list.
<ul class="z-comment-list">
<li>
<article class="z-comment">...</article>
<ul>
<li>
<article class="z-comment">...</article>
</li>
</ul>
</li>
</ul>Set the appropriate WAI-ARIA roles, states and properties to the Comment component.
comment role for each comment.<ul class="z-comment-list">
<li>
<article class="z-comment" role="comment">...</article>
<ul>
<li>
<article class="z-comment" role="comment">...</article>
</li>
</ul>
</li>
</ul>
2 hours ago
This is a great article! I really enjoyed reading about the history of the company and the challenges they faced. The insights provided are valuable for anyone interested in the industry.
1 hour ago
I agree, this was a really insightful article. The historical context provided a great foundation for understanding the current challenges the company is facing.
4 days ago
I have a few thoughts on this article. While the historical context was interesting, I felt the analysis of the current challenges could have been more in-depth. It would have been helpful to see some concrete recommendations or solutions proposed.
1 hour ago
I agree, this is a really useful feature. I can see it being great for managing discussions on my blog.
30 minutes ago
I'm really excited to try this out. It looks like it will make managing comments a breeze.