Responsive Comments

Meaning like <!-- these kind of comments -->. You put a media query in a data-* attribute of a parent element and it will determine if that block of commented HTML should be un-commented or not. A form of conditional loading. If the HTML bloat bothers you, I suspect it could be easily adapted to load the comment from a URL at another data-* attribute instead.

Direct Link to ArticlePermalink


Responsive Comments is a post from CSS-Tricks

This entry was posted in Link, Syndicated. Bookmark the permalink.

Comments are closed.