You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPDATE styles
SET"background"='blue',
"color"='white'WHERE element ='a'OR class ='target'
a, .target {
background: blue;
color: white;
}
7. Combine
UPDATE styles
SET"background"='blue',
"color"='white'WHERE element ='a'AND class ='target'and class ='another'and class ='yet-another'AND"[href]"!='/'AND":hover"= TRUE
UPDATE styles
JOIN styles AS ancestor1 ON IS_ANCESTOR(ancestor1.node, node) = true
JOIN styles AS ancestor2 ON IS_ANCESTOR(ancestor2.node, ancestor1.node) = true
SET"background"='blue',
"color"='white'WHERE class ='inside'ANDancestor1.class='middle'ANDancestor2.class='outside'UPDATE styles
JOIN styles AS prt ON IS_PARENT(prt.node, node) = true
SET"background"='blue',
"color"='white'WHERE class ='inside'ANDprt.class='outside'UPDATE styles
JOIN styles AS pre ON IS_PREV(pre.node, node) = true
SET"background"='blue',
"color"='white'WHERE class ='target'ANDpre.class='before'UPDATE styles
JOIN styles AS pre ON COMES_BEFORE(pre.node, node) = true
SET"background"='blue',
"color"='white'WHERE class ='target'ANDpre.class='before'