Advertisement
MrModest

markup-example.html

Mar 16th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.32 KB | None | 0 0
  1. <div class="block-stars" data-stars="6" data-is_predicted="true" data-title_id="228">
  2.     <ul class="w3l-ratings" >
  3.         <li>
  4.             <div class="star" data-star_id="1">
  5.                 <svg
  6.                 version="1.1"
  7.                 id="Layer_1"
  8.                 xmlns="http://www.w3.org/2000/svg"
  9.                 xmlns:xlink="http://www.w3.org/1999/xlink"
  10.                 x="0px"
  11.                 y="0px"
  12.                 viewBox="0 0 8.7 16.7"
  13.                 xml:space="preserve">
  14.  
  15.                     <path class="st0" d="M8.9,1.7L6,6.1L0.5,6.9l3.9,3.8l-0.9,5.5c1.8-1,3.6-1.9,5.4-2.9"/>
  16.                 </svg>
  17.             </div>
  18.             <div class="star" data-star_id="2">
  19.                 <svg
  20.                version="1.1"
  21.                id="Layer_1"
  22.                xmlns="http://www.w3.org/2000/svg"
  23.                xmlns:xlink="http://www.w3.org/1999/xlink"
  24.                x="0px"
  25.                y="0px"
  26.                viewBox="0 0 8.7 16.7"  
  27.                    xml:space="preserve">
  28.                     <path class="st1" d="M8.9,1.7L6,6.1L0.5,6.9l3.9,3.8l-0.9,5.5c1.8-1,3.6-1.9,5.4-2.9"/>
  29.                 </svg>
  30.             </div>
  31.         </li>
  32.         <!-- and so on 10 times -->
  33.     </ul>
  34. </div>
  35.  
  36. <!-- Initial coloring is made from server in path's style attribute -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement