Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @php ($id = uniqid("star_"))
- <svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- version="1.1"
- height="24"
- width="24"
- step="10"
- style="overflow: visible;"
- >
- <linearGradient id="{{ $id }}" x1="0" x2="100%" y1="0" y2="0">
- <stop offset="{{ $star }}%" stop-color="#FFD700"></stop>
- <stop offset="{{ $star }}%" stop-color="#eee"></stop>
- </linearGradient>
- <polygon
- points="11.051162790697674,1.2279069767441861,3.6837209302325578,24.312558139534886,22.10232558139535,9.577674418604651,0,9.577674418604651,18.41860465116279,24.312558139534886"
- fill="url(#{{ $id }})" stroke="#999" stroke-width="0"
- ></polygon>
- <polygon
- points="11.051162790697674,1.2279069767441861,3.6837209302325578,24.312558139534886,22.10232558139535,9.577674418604651,0,9.577674418604651,18.41860465116279,24.312558139534886"
- fill="url(#{{ $id }})"
- ></polygon>
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement