About 50 results
Open links in new tab
  1. Is there a color code for transparent in HTML? - Stack Overflow

    Aug 12, 2013 · There is not a Transparent color code, but there is an Opacity styling. Check out the documentation about it over at developer.mozilla.org You will probably want to set the …

  2. html - How do I set a background-color for the width of text, not …

    Dec 16, 2019 · What I want is for the green background to be just behind the text, not to be 100% of the page width. Here is my current code: h1 { text-align: center; background-color: green; } &l...

  3. html - CSS color vs. background-color vs. background? - Stack …

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

  4. Change select box option background color - Stack Overflow

    Does not answer the question--OP wants to change the background-color of the options when the menu is expanded, not the background-color of the default/currently-selected option when the …

  5. 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 …

  6. What is the difference between background and background-color

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

  7. html - Making text background transparent but not text itself

    background: rgba(red,green,blue,opacity); // or hsla(hue, saturation, lightness, opacity) You can also use rgba values for gradient backgrounds. To get transparency on an image background …

  8. How can I set an element's background-color in an HTML file?

    Sep 25, 2020 · 5 Is it possible to set an element's background-color without a CSS file? Just using an HTML file? In this case, I have a div I want to style. But I could want to style other elements …

  9. How to add background-color in a section part? - Stack Overflow

    Aug 17, 2016 · Is there any other way to add background color in section tag? Except using body {background-color: blue;}, what is are other ways to add background color into section? I am …

  10. html - Change Select List Option background colour on hover

    Is it possible to change the default background color of a select list option on hover?