Is something like this possible?
.imgbox:hover{ .ui-resizable-se { /*some style */ } }
Or a conceptual equivalent? Basically, only when an element of a certain class is hovered over, then some element within that class should change some style.
You can do this:
.imgbox:hover .ui-resizable-se { /*some style */ }
The same can be generated by LESS or SASS.
当然可以是:
.imgbox:hover .ui-resizable-se { /*some style */ }
Not with plain CSS but you can with a CSS preprocessor like Sass:
table.hl {
margin: 2em 0;
td.ln {
text-align: right;
}
}
li {
font: {
family: serif;
weight: bold;
size: 1.2em;
}
}
Generates:
/* CSS */
table.hl {
margin: 2em 0;
}
table.hl td.ln {
text-align: right;
}
li {
font-family: serif;
font-weight: bold;
font-size: 1.2em;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.