CSS with regex

Published by onesixx on

https://stackoverflow.com/questions/42497352/css-with-regex-for-id
https://developer.mozilla.org/pl/docs/Web/CSS/Attribute_selectors
https://kimblim.dk/css-tests/selectors/

* ^ $ 만으로도 쉽게 regex를 사용하여 css를 활용할수 있다.

↓ Selector / Browser →IE9 previewFF 3.6Safari 4Opera 10.5 beta
E ~ FYESYESYESYES
E[attr^=”name”]YESYESYESYES
E[attr$=”name”]YESYESYESYES
E[attr*=”name”]YESYESYESYES
E[attr|=”name”]YESYESYESYES
E:rootYESYESYESYES
E:nth-of-typeYESYESYESYES
E:nth-last-of-typeYESYESYESYES
E:first-of-typeYESYESYESYES
E:last-of-typeYESYESYESYES
E:only-of-typeYESYESYESYES
E:only-childYESYESYESYES
E:last-childYESYESYESYES
E:nth-childYESYESYESYES
E:nth-last-childYESYESYESYES
E:emptyYESYESYESYES
E:targetYESYESYESYES
E:checkedYESYESYESYES
E::selectionYESNOYESYES
E:enabledYESYESYESYES
E:disabledYESYESYESYES
E:not(s)YESYESYESYES
↑ Selector / Browser →IE9 previewFF 3.6Safari 4Opera 10.5 beta


onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x