SEO basics every developer should build in
The technical foundations that let search engines find, understand and show your pages. No tricks, no guarantees, just good struc…
Create loops, entrances and loaders without JavaScript.
@keyframes fade-up {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: none; }
}
.hero h1 {
animation: fade-up 0.6s ease both;
}both keeps the first frame before the animation starts and the last frame after it ends.
.spinner {
width: 32px;
height: 32px;
border: 4px solid #e5e7eb;
border-top-color: #2563eb;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }li { animation: fade-up 0.5s ease both; animation-delay: calc(var(--i) * 80ms); }Set style="--i:0", --i:1, and so on on each item.
transform and opacity only.@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}The technical foundations that let search engines find, understand and show your pages. No tricks, no guarantees, just good struc…
Practical checks that make a site usable by people with low vision, keyboard-only users and screen-reader users. They also help e…