Change Text Selection Color - Ash Princess Kawaii
Breaking News
Loading...
02 April 2014

Change Text Selection Color

April 02, 2014
Tutorial freebies

When we copy the text on the blog. The default color is light blue that appears. I would replace it with another color. The following tips of change text selection color.

Place the following code above ]]></b:skin>

You can also give color to the text only at the time of selection.

Live demo:
Change Text Selection Color

Here the CSS:

::-moz-selection { background:transparent;
background:transparent; 
color:teal;

}
::selection {
background:transparent;
color:teal;
}

Do not forget to save the template. Background color and text can be changed as desired.
See the Pen Change Text Selection Color by Erna Ayuning Nareswari (@ashavenger) on CodePen.

0 Comments:

Posting Komentar