Top "Background" questions

Background typically refers to the rendering behind a container element's contents - usually on a web page, Windows form or other UI presentation medium.

Stretch and scale a CSS image in the background - with CSS only

I want that my background image stretch and scale depending on the browser viewport size. I've seen some questions on …

css background
div background color, to change onhover

I'm trying to make a div's background color change on mouse over. the div {background:white;} the div a:hover{…

css colors background hover
How do I run a node.js app as a background service?

Since this post has gotten a lot of attention over the years, I've listed the top solutions per platform at …

node.js process background server daemon
How set background drawable programmatically in Android

To set Background: RelativeLayout layout =(RelativeLayout)findViewById(R.id.background); layout.setBackgroundResource(R.drawable.ready); Is the best way to …

java android background drawable
How to get div height to auto-adjust to background size?

How do I get a div to automatically adjust to the size of the background I set for it without …

css html background height
How to set background color of a View

I'm trying to set the background color of a View (in this case a Button). I use this code: // set …

android view colors background set
How to make gradient background in android

I want to create gradient background where the gradient is in the top half and there's a solid color in …

android background gradient shapes
Full screen background image in an activity

I see many applications that use a full-screen image as background. This is an example: I want to use this …

android background imageview android-framelayout
CSS3 background image transition

I'm trying to make a "fade-in fade-out" effect using the CSS transition. But I can't get this to work with …

css background background-image css-transitions
CSS: background image on background color

I have panel which I colored blue if this panel is being selected (clicked on it). Additionally, I add a …

css background background-image background-color