::selection {
background-color: cyan;
}
/* Make selected text gold on a red background */
::selection {
color: gold;
background-color: red;
}
/* Make selected text in a paragraph white on a blue background */
p::selection {
color: white;
background-color: blue;
}
p.normal::selection {
background: #cc0000;
color: #fff;
}
p.moz::-moz-selection {
background: #cc0000;
color: #fff;
}
::selection {
background-color: cyan;
}
/* Make selected text gold on a red background */
::selection {
color: gold;
background-color: red;
}
/* Make selected text in a paragraph white on a blue background */
p::selection {
color: white;
background-color: blue;
}
p.normal::selection {
background: #cc0000;
color: #fff;
}
p.moz::-moz-selection {
background: #cc0000;
color: #fff;
}
Code Example |
---|
Css :: change mouse pointer on image hover |
Css :: angular ng-deep |
Css :: drawing a circle with css |
Css :: css text rotate |
Css :: css text highlight |
Css :: multiple radial gradient css |
Css :: tailwind css image grid |
Css :: Override Inline Styles with CSS |
Css :: what does align items center do |
Css :: import font css from url |
Css :: how to make the header stay on the top of the page in html |
Css :: css curved border |
Css :: css size |
Css :: style scrollbar |
Css :: border-color not working |
Css :: fira code |
Css :: css shado on image |
Css :: background color using css |
Css :: css change image width |
Css :: fading bottom image css |
Css :: Input with File type css override |
Css :: webkit box shadow not working |
Css :: how to add default font css |
Css :: remove outline |
Css :: lightning color code |
Css :: form validation with css |
Css :: include screen size |
Css :: color gradient for text |
Css :: responsive flexbox |
Css :: css font color |