Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend half stars styling #29

Open
BioPhoton opened this issue Sep 7, 2017 · 5 comments
Open

Extend half stars styling #29

BioPhoton opened this issue Sep 7, 2017 · 5 comments

Comments

@BioPhoton
Copy link
Owner

BioPhoton commented Sep 7, 2017

We need a way to cut the star to a certain width.
At the moment I use 3 different icons for full, half and empty stars.

Some possible implementations:

  • cut single star at width [n]%
  • render 2 separate star ratings on top of each other and cut the whole star rating at width [n]%
  • here an idea of @ivanblazevic in a codepen
    here a method with CSS Paint API
@taylorericj
Copy link

Is there any time frame fixing the half star? I don't have the experience or I would help out.

@kievo23
Copy link

kievo23 commented Dec 14, 2017

Am using this star rating plugin and i love it. but the half star is hard

@BioPhoton
Copy link
Owner Author

Hi @kievo23 !
Thanks! :-)

What do you mean by hard? Hard to implement?

@kievo23
Copy link

kievo23 commented Jan 4, 2018

yes, was trying to implement the half star rating

@BioPhoton
Copy link
Owner Author

Any outcome you could contribute @kievo23 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants