Background Color Snippets


18 October, 2012   

HTML style example code for background color

07 April, 2012   

CSS code to change Text Selection Color

16 March, 2013   

CSS code example to change Text Selection Color

15 March, 2011   

Some people are unaware that it is possible to change the color when you highlight text in your browser. It is so easy to with two selectors; just be careful you don’t ruin your site with it.

21 February, 2011   

Change Text Selection Color

26 April, 2012   

Code for Table Row Highlight By JavaScript

13 November, 2012   

Use this snippet to let your visitors change the background color of your Web page. Combined with a cookie, the setting could follow them through your whole site.

18 February, 2012   

How to use CSS Inline in html page

16 April, 2012   

CSS code example for Gradient Underlines

13 April, 2017   

From the v8 design of CSS-Tricks

08 December, 2012   

Full screen background image using pure CSS3.

The code includes the CSS which you can add to your stylesheet and please note a class has been added to the table tag.

27 February, 2013   

An example pure CSS Tooltip

13 February, 2013   

Place line numbers in text output format using CSS and PHP

13 December, 2012   

A variety of snazzy CSS typography effects.

02 August, 2012   

An example of a horizontal CSS menu

14 January, 2013   

This is a simple example of an embedded stylesheet.

20 November, 2012   

An example of embedded stylesheet. This code goes into the <head> of your HTML document.

02 August, 2012   

CSS Clay Bricks Menu by Dynamic Drive

24 November, 2011   

Advanced background example by CSS