div {
...
overflow: hidden;
}
h1 {
...
overflow: hidden;
text-overflow: ellipsis;
}
div {
...
display: flex;
align-items: center;
}
div {
...
display: flex;
align-items: center;
flex-direction: row;
}
Cross Axis
Main Axis
div {
display: flex;
justify-items: center;
flex-direction: column;
}
Main Axis
Cross Axis
div {
display: flex;
flex-direction: column;
justify-content: space-between;
}
div {
display: flex;
align-items: flex-end;
}
div {
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
grid-auto-rows: minmax(150px, auto);
}
.shape {
width: 100%;
height: 100%;
float: left;
shape-outside: polygon(0 0, 0% 100%, 50% 50%);
}
.shape {
width: 100%;
height: 100%;
float: left;
shape-outside: circle(50% at 0 50%);
}
h1 {
...
font-size: 5vw;
}
h1 {
font-family: "Dunbar";
font-variation-settings: "wght" 178, "xhgt" 353;
}
span {
font-variation-settings: "wght" 50, "xhgt" 574;
}
span + span {
font-variation-settings: "wght" 89.1875, "xhgt" 527.311;
}
h1::first-letter {
font-size: 150px;
font-family: 'Fata background';
font-weight: normal;
color: yellow;
}
h1 {
text-decoration: underline;
text-decoration-skip: ink;
text-decoration-color: rebeccapurple;
}
h1 {
text-decoration: underline;
text-decoration-color: rebeccapurple;
text-decoration-line: overline underline;
}
h1 {
color: royalblue;
text-decoration-color: rebeccapurple;
text-decoration-style: wavy;
text-decoration-line: line-through;
}
div {
border-color: #f98ca4;
box-shadow:
0px 0px 0px 1px #2f3e9c,
8px 8px 0px 0px #4ad9db;
}
h1 {
color: #4ad9db;
text-shadow:
-1px -1px 0 #2f3e9c,
1px -1px 0 #2f3e9c,
-1px 1px 0 #2f3e9c,
1px 1px 0px #2f3e9c,
1px 0px 0px #f98ca4,
0px 1px 0px #f98ca4,
2px 1px 0px #f98ca4,
1px 2px 0px #f98ca4,
3px 2px 0px #f98ca4,
2px 3px 0px #f98ca4,
4px 3px 0px #f98ca4,
3px 4px 0px #f98ca4,
5px 4px 0px #f98ca4,
3px 5px 0px #2f3e9c,
6px 5px 0px #2f3e9c;
}
div {
box-shadow:
-1px -1px 0 rgba(255, 255, 255, .7),
1px -1px 0 rgba(255, 255, 255, .7),
-1px 1px 0 rgba(255, 255, 255, .7),
1px 1px 0 rgba(255, 255, 255, .7),
-1px 2px 1px #a0a0a0,
-2px 4px 2px #a0a0a0,
-3px 6px 3px rgba(#a0a0a0, 0.6),
-4px 8px 4px rgba(#a0a0a0, 0.5),
-5px 10px 5px rgba(#a0a0a0, 0.4),
-6px 12px 6px rgba(#a0a0a0, 0.3),
-7px 13px 7px rgba(#a0a0a0, 0.2),
-8px 15px 8px rgba(#a0a0a0, 0.2),
-9px 17px 9px rgba(#a0a0a0, 0.2),
-10px 19px 10px rgba(#a0a0a0, 0.2),
-11px 20px 11px rgba(#a0a0a0, 0.1),
-12px 22px 12px rgba(#a0a0a0, 0.1),
-13px 24px 13px rgba(#a0a0a0, 0.1),
-14px 26px 14px rgba(#a0a0a0, 0.1),
-15px 28px 15px rgba(#a0a0a0, 0.1),
-16px 30px 16px rgba(#a0a0a0, 0.1),
-17px 32px 17px rgba(#a0a0a0, 0.1),
-18px 34px 18px rgba(#a0a0a0, 0.1),
-19px 36px 19px rgba(#a0a0a0, 0.1),
-20px 38px 20px rgba(#a0a0a0, 0.1),
-21px 39px 21px rgba(#a0a0a0, 0.1);
}
@keyframes disco {
0% { background: #ece914; }
20% { background: #f92727; }
40% { background: #3434ff; }
60% { background: #7bf927; }
80% { background: #11d8df; }
100% { background: #e41ed8; }
}
div {
animation-name: disco;
animation-timing: 1000ms;
animation-iteration-count: infinite;
animation-direction: alternate;
}
body {
background-color: #ffff24;
background-image: url('image.png');
background-blend-mode: darken;
}
h1 {
color: #bcff00;
mix-blend-mode: color-dodge;
}
sibling selectors
:first-letter
matrix()
pseudo-elements
filters
currentColor
counters
columns
attr()
:nth-child
calc
custom properties
linear-gradient
border-radius
transitions
whitespace
:nth-of-type
background-size
background-position
scale
rotate
translate
skew
@supports
opacity
object-fit
will-change
quotes
rem
pointer-events
fr
hyphens
auto
:first-child
masking
floats
background-image
box-sizing
media queries
stroke
display: contents
:empty
By Stacey Reiman @mspanish