How to get this picture with another fill of the border?

not the content inside
a conditional border
stars.png
For example, to be able to change color at any time
April 4th 20 at 00:44
2 answers
April 4th 20 at 00:46
Solution
Solution 1: CSS Filters (list, habr1, habr2, basicweb.ru)
Solution 2: Draw stars on the CSS (once, two, even without CSS)
Solution 3: Draw a star with the help of SVG (times, two, fontawesome)
@Gaylord_Powlowski38, thank you
https://iconmonstr.com/star-5-svg/ works for you?
I agree - but why not download - jovanny72 commented on April 4th 20 at 00:49
Yes, it works. Here it is on the hosting. - Gaylord_Powlowski38 commented on April 4th 20 at 00:52
@Gaylord_Powlowski38realized
if I have 5 pieces - it is better to clone via js( ie in the markup will be one item)
or paste directly into the markup? - jovanny72 commented on April 4th 20 at 00:55
Well, I would have cloned to simply read better.
Generally if you connect via the img tag, the browser will download only once.
To improve readability, you can, for example, using php to connect to the file.
Here you can read about the connectivity options of the SVG files. - Gaylord_Powlowski38 commented on April 4th 20 at 00:58
April 4th 20 at 00:48
Use the standard symbol ☆ - ☆

Find more questions by tags CSSHTMLLayout