Erik Landvall

Bloggen

  • Apache
  • CouchDB
  • CSS
  • Design pattern
  • Git
  • Javascript
  • Joomla
  • jQuery
  • Linux
  • Magento
  • Mobile
  • Netbeans
  • PHP
  • SEO
  • SQL
  • Web
  • WordPress
  • Zend Framework 2
  • Electronic cigarettes
11 April, 201230 April, 2012 by Erik Landvall

Text with shadow

  • CSS

The post is also available in: Swedish

With some help of CSS 3, we can shadow text on the website.
As usual, IE is not very generous.

h1
{
    text-shadow:
        1px    /* y-axis */
        1px    /* x-axis */
        1px    /* blur   */
        #999;  /* color  */
}

The values for blur and color is not necessary to specify.

Links

http://www.w3schools.com/cssref/css3_pr_text-shadow.asp
http://www.w3.org/Style/Examples/007/text-shadow.en.html

Post navigation

← Previous Post Working with Git and Github in Netbeans
Next Post → Hands on ZF2
Proudly powered by WordPress | Theme: editor by Array
  • English
  • Svenska (Swedish)