About 3,610,000 results
Open links in new tab
  1. Text colour fill from left to right using CSS - Stack Overflow

    The text is positioned using css-grid's justify-content: start and has overflow:hidden on with a width of 0. On hover, the width of the fill-text div is increased which effectively achieves the same effect: revealing the overlay text from left to right.

  2. CSS Text - W3Schools

    Text Color. The color property is used to set the color of the text. The color is specified by: a color name - like "red" a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" Look at CSS Color Values for a complete list of possible color values. The default text color for a page is defined in the body selector.

  3. Handling different text directions - Learn web development

    Apr 11, 2025 · body { font-family: sans-serif; height: 300px; } h1 { writing-mode: vertical-rl; color: white; background-color: black; padding: 10px; } The three possible values for the writing-mode property are: horizontal-tb : Top-to-bottom block flow direction.

  4. css - How do I make text reverse direction in HTML ... - Stack Overflow

    Aug 29, 2012 · Yes, this is possible using the combination of two Unicode control characters. Namely, the. Each override character makes the text that follows it flow in the corresponding direction. These can be inserted into an document with the HTML entities ‮ and ‭, or the decimal equivalents, ‮ and ‭.

  5. html - Coloring a single word with CSS - Stack Overflow

    May 5, 2012 · I want to set the color of individual words within a <pre> block (roughly speaking, for displaying code with syntax highlighting). The <font> tag is deprecated in favor of using CSS, fair enough; what's the required syntax?

  6. Using Color in CSS: in-depth guide to CSS color codes - Educative

    Jan 12, 2021 · This CSS guide teach you how to apply color to a webpage using CSS with various color values, codes, gradients, and transparencies.

  7. Applying color to HTML elements using CSS

    Apr 10, 2025 · With CSS, there are lots of ways to add color to your HTML elements to create the look you want. This guide is a primer introducing how CSS can be used to apply colors to HTML elements. This guide includes lists of the CSS properties that set color in their values and how to use colors both in stylesheets and in other ways.

  8. How to Create CSS Text Gradient - W3Schools

    CSS Text Gradient refers to applying gradient colors to web page text elements. You can seamlessly transition between two or more colors directly within the text using CSS properties like linear-gradient or radial-gradient.

  9. CSS animation-direction Property - W3Schools

    The animation-direction property defines whether an animation should be played forward, backward or in alternate cycles. The numbers in the table specify the first browser version that fully supports the property. animation-direction: normal|reverse|alternate|alternate-reverse|initial|inherit; Default value.

  10. How to Change the Color of the First Word in a Text - W3docs

    If you want to change the color of the first word of a text, you can use the CSS :before pseudo-element, which is used to add any element. Its value is defined with the content property. If it is not used, the content will not be generated and inserted.

Refresh