About 51 results
Open links in new tab
  1. CSS color vs. background-color vs. background? - Stack Overflow

    Aug 19, 2016 · The background property is a shorthand property that allows you to set multiple background-related properties in one declaration. These properties include background-color, …

  2. css - What is the difference between background and background …

    Apr 18, 2012 · background-color background-image background-position background-repeat background-attachment background-clip background-origin background-size Thus, besides the …

  3. How do I reduce the opacity of an element's background using CSS?

    Is it possible, using CSS only, to make the background of an element semi-transparent but have the content (text & images) of the element opaque? I'd like to accomplish this without having the...

  4. how to set the background color of the whole page in css

    The body's size is dynamic, it is only as large as the size of its contents. In the css file you could use: * {background-color: black} // All elements now have a black background. or html {background-color: …

  5. css - Qual é a diferença de usar background para background-color ...

    Aug 7, 2019 · background-color background-image background-repeat background-attachment background-position Ao longo você vai se aprofundando mais no CSS você vai vendo que existe …

  6. html - CSS Background Opacity - Stack Overflow

    Set your desired CSS opacity and other properties for the background and use the z-index property (z-index) to style and position the bContent div. With this you can place the div overtope of the …

  7. html - Transparent CSS background color - Stack Overflow

    Jun 25, 2012 · 40 To achieve it, you have to modify the background-color of the element. Ways to create a (semi-) transparent color: The CSS color name transparent creates a completely transparent color. …

  8. css - div background color, to change onhover - Stack Overflow

    Mar 24, 2009 · Provides solutions for changing the background color of a div on hover using CSS.

  9. css - How do I change the background color with JavaScript? - Stack ...

    Oct 13, 2008 · Here are 2 ways to Change Background Color Using Javascript To change background color with javascript you can apply style.background or style.backgroundColor on the element you …

  10. How to make div background color transparent in CSS

    Feb 24, 2023 · 248 I'm not using CSS3. So I can't use opacity or filter attributes. Without using these attributes how can I make the background-color transparent of a div? It should be kind of the text box …