Change text selection color

To change the text selection color in Webflow you only have to add the following CSS code to your project.

For the entire site:


<style>
::selection {
  background: #8f00ff; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #8f00ff; /* Gecko Browsers */
}
</style>  
 

For only a specific paragraph:


<style>
p.bg-blue::selection {
  background: #ffb7b7;
}
p.bg-blue:::-moz-selection {
  background: #ffb7b7;
}
</style>