63 lines
1.0 KiB
CSS
63 lines
1.0 KiB
CSS
@custom-media --KeepName (MIN-WIDTH: 500PX);
|
|
|
|
.foo {
|
|
color: hsl(0.75TURN, 60%, 70%);
|
|
}
|
|
|
|
p:FIRST-CHILD {
|
|
color: lime;
|
|
background-color: black;
|
|
padding: 5px;
|
|
}
|
|
|
|
a::AFTER {
|
|
content: "→";
|
|
}
|
|
|
|
a:AFTER {
|
|
content: "→";
|
|
}
|
|
|
|
::-WEBKIT-PROGRESS-BAR {
|
|
background-color: orange;
|
|
}
|
|
|
|
TABLE {}
|
|
|
|
/* apply a dashed border to all unresolved elements */
|
|
:unresolved {
|
|
border: 1px dashed red;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* x-panel's that are unresolved are red */
|
|
x-panel:unresolved {
|
|
color: red;
|
|
}
|
|
|
|
/* once the definition of x-panel is registered, it becomes green */
|
|
x-panel {
|
|
color: green;
|
|
display: block;
|
|
padding: 5px;
|
|
display: block;
|
|
}
|
|
|
|
:host {
|
|
all: initial;
|
|
display: block;
|
|
contain: content;
|
|
text-align: center;
|
|
background: linear-gradient(to left, hotpink, transparent);
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
border-radius: 8px;
|
|
transition: transform .2s ease-out;
|
|
}
|
|
:host([hidden]) {
|
|
display: none;
|
|
}
|
|
:host(:hover) {
|
|
transform: scale(1.1);
|
|
}
|