About 3,850,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. CSS Text Alignment and Text Direction - W3Schools

    Text Alignment and Text Direction. In this chapter you will learn about the following properties: text-align; text-align-last; direction; unicode-bidi; vertical-align

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

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

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

  6. How to Set Text Color for a Specific Paragraph using CSS

    Jun 7, 2024 · Below are the approaches to set text color for a specific paragraph using CSS: We can use inline CSS to style HTML elements directly. To set text color for a specific paragraph, we add the "style" attribute to the paragraph tag and specify the "color" property. Note: The inline CSS can make your HTML harder to maintain if overused.

  7. html - Color the First word of Sentence CSS - Stack Overflow

    Aug 29, 2014 · Use a span with preferred style for the first word like. color:blue; Check this link . There is :first-letter and :first-line, but no :first-word. Your problem is that you assume CSS3 has such a feature. Use a span tag, this way it won't start a new line. For example: and then in your css just add: Hope this works!

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

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

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

Refresh