From 2fc1541f2d2c2f6ca4f8d19559fa9c7ae8451845 Mon Sep 17 00:00:00 2001 From: Joss Crowcroft Date: Mon, 28 Mar 2011 12:29:28 +0800 Subject: [PATCH] 0.1.1, now 50% more fun --- README.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index d429a64..4c4bf0a 100644 --- a/README.markdown +++ b/README.markdown @@ -10,7 +10,10 @@ build a more optimised CSS selector, stopping at the first parent with a specifi It also checks to see whether any part of the CSS path matches multiple elements, or if any element has no ID or CSS class, and adds specific "nth-child" pseudo-selectors -where needed for full CSS paths, eg. "html body #content p img:nth-child(1)" +where needed for full CSS paths. + +* Example full CSS path: `html body #main #content .left-col p img:nth-child(1)` +* Example optimised CSS path: `#content .left-col p img` Hit escape key to cancel the inspector. @@ -21,4 +24,4 @@ for that (so far, tested in FF4, Chrome, Safari, Opera 11.) No warranty; probably won't break the internet. Improvements and linkbacks welcome! -- Joss \ No newline at end of file +Joss \ No newline at end of file