css underline color
u
{
text-decoration: underline;
text-decoration-color: red;
}
example of use: (in html)
<p>The word <u>CAT</u>, is underlined </p>
css underline color
u
{
text-decoration: underline;
text-decoration-color: red;
}
example of use: (in html)
<p>The word <u>CAT</u>, is underlined </p>
custom selection color css
::selection {
color: #000000;
background-color: red;
}
/* for firefox */
::moz-selection {
color: #000000;
background-color: red;
}
hcss change highlight color
::selection {
background: #ffb7b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
background: #ffb7b7; /* Gecko Browsers */
}
css text highlight
/*Term: css text highlight*/
/*This uses the element ::selection, which is as far as i
know only supported by Google Chrome so far. This is not
a problem though, since other browsers will simply keep
the regular highliting styles.*/
/*Example*/
::selection {
background-color: #000; /*Highlight Color*/
color: #fff; /*Text Color*/
}
css selected color
::selection {
background-color: #222;
color: white;
}
style highlight css
/* Now supported by all major browsers */
::selection {
background-color: #000 /* Selection highight color */
color: #FFF /* Optional colour change of text that is being selected */
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us