Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Proposal about spriteUrl #23

Closed
topless opened this issue Sep 6, 2013 · 1 comment
Closed

Proposal about spriteUrl #23

topless opened this issue Sep 6, 2013 · 1 comment

Comments

@topless
Copy link

topless commented Sep 6, 2013

Instead of using a sprite for displaying step number in circle use border radius.

.hopscotch-bubble-number {
// background: transparent @spriteUrl 0 0 no-repeat;
border-radius: 50%;
...

}

@gkoo
Copy link
Contributor

gkoo commented Sep 6, 2013

The reason I decided to use a sprite was to support IE 8 and lower. Using border radius is a good idea though and is preferable if you know that you don't need to support the older IEs. Feel free to fork a version that uses border-radius, but I don't plan to replace it since I can't make that assumption for everyone using Hopscotch.

@gkoo gkoo closed this as completed Sep 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants