About 53 results
Open links in new tab
  1. css - Outline effect to text - Stack Overflow

    Feb 7, 2011 · You could try stacking multiple blured shadows until the shadows look like a stroke, like so:.shadowOutline { text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black ...

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

    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 - Change Color of Fonts in DIV (CSS) - Stack Overflow

    Oct 21, 2012 · .social h2 { color: pink; font-size: 14px; } To get a better understanding of CSS selectors and how they are used to reference your HTML, I suggest going through the interactive HTML and CSS tutorials from CodeAcademy. I hope that this helps point you in the right direction.

  4. Change color of text for input field using css

    Jun 14, 2016 · It is definitely possible that you can change your input's text color with CSS and there are quite some ways to that depending upon the result you want to achieve. For example, if you want to set your colour to blue and have it always stay blue, you can use the following code: #email { color: blue; /* Or color: #0000ff */ }

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

    Jan 30, 2011 · formatting the text string, but want to change the color of "January 30, 2011" to #FF0000 and "summer" to ...

  6. Can i change the text color of a tag without css?

    I'm writing a template for an e-mail, and I can't use css. I need to change the color of the links, by default they get blue and underline. I want to keep the underline but change the color to blac...

  7. html - How to change text color of a css class? - Stack Overflow

    Oct 13, 2016 · You would need to add some code like this to your CSS file..form-control { color: #000; } Keep in mind that you may have some specificity declaration issues. For example, if the color is set in bootstrap.css as a child of another element, you may not be able to override the color change unless you declare it with the parent as well. For example ...

  8. How can I change the text color with jQuery? - Stack Overflow

    Feb 1, 2023 · When I hover a text with animation definitely I will use jQuery. Is there a code that will change the color, or size?

  9. css - How to change default text color for entire site - Stack …

    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 body color in the CSS would change the default color: body { font-family: Lato; font-size: 14px; line-height: 1.42857143; color: #ff9900; background-color: #750204;

  10. 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], [

Refresh