Professional Documents
Culture Documents
Custom CSS Selector Part1
Custom CSS Selector Part1
<body>
<div name='183902892_username_783790230-47' class='c' id='p'>
<div id='sec'>
<label abc='673737393_abcD' id="user">Username</label>
<input id="username_1238494940" type="text">
</div>
</div>
</body>
</html>
CSS Combinator --
1. Space Combinator : table[role='presentation'] tbody tr td label[for='email'] -
Identify username on web-page.
2. Child Combinator : div[class^='pvl']>div
3. Adjacent Sibling : div[id='fullname_field'] + div
4. General Sibling : div[id='fullname_field'] ~ div