0
votes
1answer
20 views

why does the bookmark did not get bigger [closed]

I'm trying to understand how this site works because I want to use a similar solution on my own site. The only thing I cannot figure out is how the red thing works, especially how the site knows ...
0
votes
1answer
16 views

Sprite to cater for multi device sizes vs Media query for individual images

We need to build a responsive mobile site that will cover sizes from 300 width to Tablet high def. We are considering using a sprite for all icons (12 icons in total) to reduce image size - combined ...
2
votes
3answers
190 views

CSS Image Sprite Not Displaying Background Image

Hi I am having quite a bit of trouble getting this sprite to work. The background image never shows up and just displays the link text. I have tried to use direct paths to the image, http://.., but it ...
0
votes
0answers
103 views

Using background-position with percentages for image sprites

I'm trying to use the background-position property with percentages in an image sprite. It doesn't seem to work though i.e. it doesn't shift the background-image. You can see an example here: ...
2
votes
1answer
184 views

How To Display External Link Icon from Sprite on Right

How can I display an external link icon on the right side of the link text from a sprite? EDIT using :after psudo: a.external:after { width:12px; height:12px; ...
0
votes
2answers
356 views

HTML 5 - very simple animation

I need to understand how to create a simple animation in HTML 5 or CSS3. Suppose you have this sprite (see picture) and you need to create an animation with 4 frames. The animation has to last ...
0
votes
2answers
213 views

Why is my sprite image broken [x] but also displaying showing the image?

I am not sure why, but the image actually shows but it has a [x] on top of it as if it is a broken link? The page can be viewed at: www.klassaktkreations.com index.php <!DOCTYPE HTML> ...
4
votes
3answers
2k views

Efficiency of <canvas> and <div>s

I want to ask if someone can give me some hints with a design decision I want to make. My project will feature some sprites (expecting 10 to 30 on the screen at once), and there are several ways to ...
2
votes
1answer
319 views

Does using css sprite speed up performance in an html5 iphone app wrapped with phonegap?

I was wondering if creating a sprite for an HTML5 app, and wrapping it with phonegap for iPhone and Android, would increase performance at all. Because the app is offline, so it is only making a call ...
1
vote
1answer
684 views

Using sprite images with setDragImage

I'm trying to implement HTML5 Drag and Drop with a custom drag image, which appears behind the cursor. This can be done with setDragImage and works great with standalone images, i.e. created with new ...
1
vote
2answers
138 views

Any Javascript libraries can do local image creating and rendering on demand?

I am building a browser game. It is a tile based game (pretty much like Pokémon if you are familiar with). I built a similar game using C++ about 9 years ago. I still have all the images and music ...
0
votes
2answers
576 views

Weird CSS behavior (sprite nav w/rollover)

Here's the navigation image in question: What I want to do is pretty basic and I've done it numerous times in the past, I just can't understand why it isn't working right now. Basically use the ...