Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Needs love -->
- <div class="love-it-wrapper">
- <a href="#" class="love-it" data-post-id="202" data-user-id="1">Recommend</a>
- <span class="love-count">0</span>
- </div>
- <!-- has love -->
- <div class="love-it-wrapper">
- <span class="loved">Recommended <span class="love-count">2</span></span>
- </div>
- So in the first case the Recommend text is a link you can style individually. In the loved case, the text has no element to itself and can't get the same button styling.
- Suggestion:
- <!-- has love -->
- <div class="love-it-wrapper">
- <span class="loved">Recommended </span>
- <span class="love-count">2</span>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement