better html/additional classes
-
without the use of jquery or css psuedo classes there is no way to specifically style the profile data. they should be labeled in regards to what they are wrapping. ex:
<div class=”data-holder”>
<span class=”profile-media photos”>
215
<div class=”profile-media-content”>
Photo
</div>
</span>
<span class=”profile-media followers”>
141
<div class=”profile-media-content”>
Followers
</div>
</span>
<span class=”profile-media following”>
207
<div class=”profile-media-content”>
Followings
</div>
</span>
</div>on a side note it is improper html to have divs inside of a span if possible, but thats not a really big deal.
The topic ‘better html/additional classes’ is closed to new replies.