background-position Questions

1

Solved

I applied a gradient as background image to my body. Then I added 255px offset at the top using background-position:0 255px;. It looks quite good except one little issue: of course the gradient do...
Gulley asked 2/6, 2013 at 18:4

5

Solved

I'd like to change the background position of a CSS-class while hovering a li-element. HTML: <div id="carousel"> <ul id="submenu"> <li>Apple</li> <li>Orange</...
Missi asked 21/11, 2009 at 22:9

4

Solved

I want to fade between 'background-position' of a sprite image only with CSS. I found a lot o tutorials but I didn't found something simple like this: <!doctype html> <html> <head&g...
Helper asked 9/4, 2013 at 10:47

1

Solved

Little question here, i have a sprite image that contain icons with normal and hover effects.. And this is the css i have for now.. .wi{ background-image:url(images/icons/small/wi.png); backgro...
Bran asked 23/1, 2013 at 8:11

5

Solved

I have a div element, say of width 200px and height 200px. I need a small image to appear on the top right corner of the div. How one would normally do it would be with background: url(/images/ima...
Scleritis asked 16/9, 2011 at 12:1

1

Solved

I want to generate a matrix of css selector in the form of .cX.rY selectors for a grid of something like 10 x 10. But I'm not seeing how I can do this less (I'm pretty new to .less). I'm using DotL...
Luteous asked 29/11, 2012 at 20:53

2

I think my last question overwhelmed everybody so I will simplify I am attempting to change the background-position of the x-axis only. By default if only one value is defined, the other defaults ...
Mideast asked 13/6, 2012 at 0:30

2

Solved

Lets say I have a div element, with a background in position: 0%; how would I change the position to e.g position: 100%; but with keyframes on hover I can't seem to use keyframes properly, it neve...
Foundling asked 1/9, 2011 at 21:14

2

Solved

I see here that the lack of backgroundPosition animation in jquery 1.5.0 is a known bug. Has it still not been fixed? See this jsfiddle, with backgroundPosition animating in jquery 1.4.4, and then...
Partridge asked 29/12, 2011 at 3:7

2

Solved

In an attempt to upgrade the jQuery plugin 'iCheckbox' (http://stackoverflow.com/questions/6032538/) to work above jQuery 1.4.4 I found out that the use of animate({backgroundPosition:'10px 0px'}...
Gilead asked 12/6, 2011 at 14:0

1

Solved

I'm having some troubles making buttons using multiple backgrounds. I know I can use :before and :after but I'd like to figure this out if possible. Here is the Jsfiddle http://jsfiddle.net/syren/...
Leschen asked 14/11, 2011 at 3:7

2

Solved

how can I animate the background-position property using jQuery's animate function without using a plugin? I tried switching back to 1.4.4 when backgroundPosition was supported, however it just see...
Audubon asked 10/10, 2011 at 22:4

1

Can I repeat a part of an image [which it's in a CSS sprite image] in the background ?! like for example : background-position : -13px top ; background-repeat : repeat-y ; because I got the ...
Zymogenic asked 6/4, 2011 at 13:29

3

Solved

I want to change button's background image y position with hover function. Is there a simple way of keeping xpos or should I get position first, split it and use again with $.css() again. I should...

6

I apply to stackoverflow as my last resort. I got this ie6 bug while using the image at the background of the link. It seems that ie6 scrolls the background. How can I avoid it? At some width it s...
Shainashaine asked 18/4, 2009 at 16:23

1

Solved

I pretty new to js and jquery so please bear with me. I'd like to change the background-position and add 1% on #div1 while clicking on #button1 and take -1% on #div1 while clicking on #button2 Ho...
Dodona asked 22/1, 2010 at 13:50

© 2022 - 2024 — McMap. All rights reserved.