::-moz-selection & ::selection

Julian Querido's Avatar

Julian Querido

11 Sep, 2010 09:17 PM


I was just wondering if there are any plans to include support for the selection override?

Example 1 compiles in the terminal but when written in the form of example 2 it will not compile. I have been using less.app by incident57 (www.incident57.com/less/) which is really good but but when compiling it always returns an error.

Is this supported or are there plans to include it in the future?


::-moz-selection {

background: @selection_background;
color: @selection_color;


::selection {

color: @selection_color;
background: @selection_background;


Example 2

::selection, ::-moz-selection {

background: @selection_background;
color: @selection_color;


  1. 1 Posted by 80leaves on 22 Jul, 2012 11:21 AM

    80leaves's Avatar

    any updates to this? I'm having the same issue...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac