betweenbrain™ | web • print • idenity • creative

  • Content
  • Navigation
  • Home
  • Services
  • Process
  • Contact
  • About
  • Notes
  • Download

Attacking Chrome

Last Updated on Wednesday, 09 September 2009 10:16

Apparently Google's new browser Chrome, is based on the same technology as Apple Safari. I discovered this fact while searching for a way to apply Chrome / Safari specific CSS styles. I came across a number of *hacks* (which I personally would rather avoid using) some more complex, and frankly scary, than others. The following ?hack? came from Martin Ivanov's blog, dated Oct 1, 2008:

/* Google Chrome hack */
body:nth-of-type(1) .elementOrClassName
{
/* properties go here */
}

/* Safari hack */
body:first-of-type .elementOrClassName
{
/* properties go here */
}

While on the hunt for the above information, I came across a very cool website that illustrates CSS transformations, currently only supported by Chrome and Safari. The heat is definitely on for FireFox.

Add comment

We'd like to hear what you think. As long as it's constructive, we'll publish it.


Security code
Refresh

Send
Cancel
JComments
Going up?
feed-image Feed Entries
  • Home
  • Services
  • Process
  • Contact
  • About
  • Notes
  • Download
  • Search
  • Sitemap

All rights reserved. © 2010 betweenbrain™
Developed using the Joomla Engineering™ Template Development Framework
Disclaimer