Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:98:\"Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:102:\"Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:106:\"Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:100:\"Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:377:\"INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'captcha_sessions'\nquery: INSERT into captcha_sessions (uid, sid, ip_address, timestamp, form_id, solution, status, attempts) VALUES (0, '076584048bf49f7d289115d0e1e37908', '54.162.136.26', 1496057753, 'comment_form', 'undefined', 0, 0)\";s:5:\"%file\";s:87:\"/homepages/30/d251750219/htdocs/tecspeak/sites/tecspeak.com/modules/captcha/captcha.inc\";s:5:\"%line\";i:92; in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:43:\"array_map(): Argument #2 should be an array\";s:5:\"%file\";s:69:\"/homepages/30/d251750219/htdocs/tecspeak/modules/system/system.module\";s:5:\"%line\";i:1015;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:56:\"array_keys() expects parameter 1 to be array, null given\";s:5:\"%file\";s:59:\"/homepages/30/d251750219/htdocs/tecspeak/includes/theme.inc\";s:5:\"%line\";i:1771;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:39:\"Invalid argument supplied for foreach()\";s:5:\"%file\";s:59:\"/homepages/30/d251750219/htdocs/tecspeak/includes/theme.inc\";s:5:\"%line\";i:1771;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:98:\"Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:102:\"Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:106:\"Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:100:\"Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:98:\"Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:102:\"Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:106:\"Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:100:\"Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:98:\"Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:102:\"Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:106:\"Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:100:\"Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:98:\"Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:102:\"Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:106:\"Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:100:\"Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given\";s:5:\"%file\";s:60:\"/homepages/30/d251750219/htdocs/tecspeak/includes/module.inc\";s:5:\"%line\";i:483;}', 3, '', 'http://www.tecspeak.com/technology/three-new-tricks-css3', '', '54.162.136.26', 1496057753) in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128
Three New Tricks in CSS3 | Tecspeak.com

Three New Tricks in CSS3

  • warning: Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • user warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'captcha_sessions' query: INSERT into captcha_sessions (uid, sid, ip_address, timestamp, form_id, solution, status, attempts) VALUES (0, '076584048bf49f7d289115d0e1e37908', '54.162.136.26', 1496057753, 'comment_form', 'undefined', 0, 0) in /homepages/30/d251750219/htdocs/tecspeak/sites/tecspeak.com/modules/captcha/captcha.inc on line 92.
  • warning: array_map(): Argument #2 should be an array in /homepages/30/d251750219/htdocs/tecspeak/modules/system/system.module on line 1015.
  • warning: array_keys() expects parameter 1 to be array, null given in /homepages/30/d251750219/htdocs/tecspeak/includes/theme.inc on line 1771.
  • warning: Invalid argument supplied for foreach() in /homepages/30/d251750219/htdocs/tecspeak/includes/theme.inc on line 1771.
  • warning: Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationships_api_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_defaults_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_elaborations_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
  • warning: Parameter 2 to user_relationship_mailer_user_relationships() expected to be a reference, value given in /homepages/30/d251750219/htdocs/tecspeak/includes/module.inc on line 483.
Printer-friendly versionSend to friendPDF version

CSS3 is still in the works, but several working drafts have been released to get a feel of how this will change the way we now view CSS. Shown below is a list of CSS3 properties that will surely be used to enhance website looks.

1. Multiple Background Images

Since everyone has renegaded tables from modern-day design, multiple background images have been hard to replicate. To work around this inconvenience, web-designers have long been using a trick called “tag-backing” to simulate this feature.

Let's say that you have a background that can't be made up of just one image put in the body tag as the main background. You have a high-resolution photo, a gradient underneath it and a plain color for the rest of the website (if it would need to scroll down).

Usually, using tag-backing, you would put the color as the background for the HTML tag, the gradient in the body tag, and, finally, the high-resolution photo as a background for a div tag. Well, no more of this.

Using the new, improved “background-image” property in CSS3, background images can be simply lain on top of each other inside a simple CSS line. Every image is declared as in CSS2, separated by comma, the first image being on top of the next.

Syntax: background-image: url(image1.jpg), url(image2.jpg), url(image3.jpg);

2. Text Shadowing

Old-school designers, back in the day when Flash and JavaScript were just simple drafts and sIFR was something in the domain of science-fiction, remember pioneering a technique where a text with special effects would have been rendered in image-editing software and then exported to an image format like PNG, GIF or JPEG.

The resulted image was included in the website using an img tag. This practice is still in usage today in many places where font styling is needed.

The “text-shadow” property will add a blurred shadow effect to any text. Its usage is a bit complicated for an untrained eye. Its syntax is the following:

Syntax: text-shadow: 1px 2px 3px #333333;

The first two values control the direction the shadow drops. The 1px value says that the shadow will drop 1 pixel to the right and controls the horizontal plane. For negative values, the shadow will drop to the left.

The second value controls the vertical plane and, for positive values, will drop the shadow down, for negative values, the shadow will go up.

The third value (ex. 3px) will control the blur effect. This example will have a 3-pixel blur.

The last value is, as expected, the color of the shadow. No science in this one.

3. Non-Standard Web Fonts

First implemented in Internet Explorer 5, the @font-face rule will be a standard in the new CSS3. The syntax is as follows.

Syntax: @font-face {font-family: MyFont; src: url('MyFont-Normal.ttf'); }

This will make the user's browser access the given URL and download the given font to be employed inside that page. Currently, the CSS3 standard will support the OTF, TTF and EOT font types.

If a weighted or italic version of the font is needed, that form of the font-family must be included in the rule, as well as in a separate declaration, as follows:

Syntax: @font-face {font-family: MyFont; src: url('MyFont-Bold.ttf'); font-weight: bold; }

CSS 3

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b>
  • Lines and paragraphs break automatically.
  • You may insert videos with [video:URL]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Warning: INSERT command denied to user 'dbo290624456'@'74.208.16.205' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:373:\"INSERT command denied to user &#039;dbo290624456&#039;@&#039;74.208.16.205&#039; for table &#039;accesslog&#039;\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&#039;Three New Tricks in CSS3&#039;, &#039;node/1394&#039;, &#039;&#039;, &#039;54.162.136.26&#039;, 0, &#039;076584048bf49f7d289115d0e1e37908&#039;, 271, 1496057753)\";s:5:\"%file\";s:77:\"/homepages/30/d251750219/htdocs/tecspeak/modules/statistics/statistics.module\";s:5:\"%line\";i:64;}' in /homepages/30/d251750219/htdocs/tecspeak/includes/database.mysqli.inc on line 128