About 3,220,000 results
Open links in new tab
  1. Change an HTML input's placeholder color with CSS

    Chrome v4 supports the placeholder attribute on input[type=text] elements (others probably do too). However, the following CSS doesn't do anything to the placeholder's value: input[placeholder], [

  2. css - How to change default text color for entire site - Stack Overflow

    Jul 31, 2020 · I have since abandoned the template and use CSS to style everything, but for some reason I cannot change the default text color of the whole site. I thought that simply changing the …

  3. css text gradient - Stack Overflow

    p { background-image: linear-gradient(red, blue); color: transparent; background-clip: text; } Some things to note: A lot of the old examples use -webkit-text-fill-color rather than color. The two are actually …

  4. css - Text color change on hover over button - Stack Overflow

    7 The CSS property color controls the text color in elements generically. In your case, to change the color on hover, use the :hover specifier;

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

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

  6. How to apply a color to a SVG Text element - Stack Overflow

    Jun 21, 2018 · 176 Setting the class is correct but the CSS color property has no effect on SVG. SVG uses fill and stroke properties. In your case you probably just need to change color to fill. This …

  7. CSS strikethrough different color from text? - Stack Overflow

    Jul 10, 2009 · Learn how to apply a CSS strikethrough with a different color than the text using various techniques and examples.

  8. css - HTML: Changing colors of specific words in a string of text ...

    Jan 30, 2011 · Learn how to change the color of specific words in a text string using HTML techniques and examples.

  9. CSS "color" vs. "font-color" - Stack Overflow

    Feb 7, 2016 · Anyone know why CSS provides color for text, but does not have font-color or text-color? Seems very counter-intuitive, kind of like text-decoration: underline rather than font-style or …

  10. html - Change Color of Fonts in DIV (CSS) - Stack Overflow

    Oct 21, 2012 · I am trying to change the color and size of H2 font and H2 link fonts based on the div they are in but have not been successful. What am I doing wrong? h2 { color: fff; font-size: 20px; } soci...