This CSS code will add a highlighted text effect to any heading text of your choice once the text is italicized.
Copy and paste this code into your CSS editor box:
/*HIGHLIGHTED TEXT EFFECT */
h1 em {
background: linear-gradient(to bottom, transparent 30%, #eed5db 70%);
Font-style: normal}
Customize the Look!
Target Element: Change **h1 text property** (currently highlighted in bold) to the element you want to style (e.g., h1, h2, h3).
Pick Your Colors: Replace the **hex color code** with your desired color code.
Fine-tune Transparency: Adjust the percentages next to the color code to control transparency and achieve the exact look you want.
Great for: