xtodo css
.x { font-style: italic; }
- in css gradient, interpolation can be specify in oklab or in hsl etc. give example, for all gradients
- also, show
shorterandlonger
- ask ai css 3d
scale3dperspectivepreserve-3dtransform-style
clip-path
- make Truchet tiles animation using css
- Truchet tiles
- ask ai to show a flip card animation
- add one example of background (shorthand)
- add one full wallpaper example, using background (shorthand). maybe
- CSS: background (shorthand)
- in css, can u do translate but keep the original copy
- https://x.com/i/grok/share/17d6bb82a7ba4a03b65d7ad544d261bd
- explain css translate
- https://x.com/i/grok/share/1c664e8f7a6749fb99a7293d48885739
Borders & Accents
Apply tobackgroundwithmaskorborder-imagefor creative frames.
- lol. was gonna write a requestAnimationFrame to know what it does.
- then, found that i already damned it 7 years ago.
- JavaScript requestAnimationFrame sucks
- Xah Web Dev Blog Archive 2019-01
/* Keyword values */ word-break: normal; word-break: break-all; word-break: keep-all; word-break: auto-phrase; /* experimental */ word-break: break-word; /* deprecated */
(hover: hover)→ The user can hover (mouse, trackpad, stylus, etc.)(hover: none)→ The user cannot hover properly (most touch phones and tablets)
/* Best practice - safe hover */ @media (hover: hover) { .menu-item:hover { color: red; } } /* Touch devices get different style */ @media (hover: none) { .menu-item { padding: 15px; /* bigger touch targets */ } }
- how to do click to expand section visible by css no JavaScript
- sample page
- https://css-tricks.com/snippets/css/a-guide-to-flexbox/
- add css
min-content - https://developer.mozilla.org/en-US/docs/Web/CSS/min-content
- 2022-06-25
- css
- Navigational Panel Design (2022)
- 2022-05-08 css. write a tutorial on
@font-face.
- 2022-01-31 css need to write up on smaller and larger. redo page CSS: font-size
- small-caps
backdrop-filter: blur(16px);
- font-style
- font-variant
- font-weight
- font-stretch
- line-height
- mod CSS: font (shorthand)
word-break: keep-all;- css
aspect-ratioproperty
- whats
@supports @container@starting-style:scope- what's css
svhlvhdvh. add to my tutorial CSS: Length Units
clamp
ai generated
top ten most important css features since 2015.
- CSS: grid layout → revolutionized two-dimensional layouts.
- CSS: Flexbox Layout
- CSS: Variable (Custom Property)
- Container Queries – lets components respond to their own size, not just the viewport.
- CSS: :has descendant selector
- CSS: nesting syntax
- Scroll Snap – smooth, controlled scrolling for carousels and pages.
- Aspect Ratio – the
aspect-ratioproperty for maintaining proportions. - Modern Color Functions – like
oklch(),lch(), andlab()for better color control. - CSS: cascade @layer
- Logical Properties (widely adopted post-2018)
- margin-inline, padding-block, inset, float: inline-start, etc. Makes internationalization (RTL languages) much easier — no more manual flipping of left/right.
- Scroll-Driven Animations + View Transitions (2023–2024)
- animation-timeline: scroll()
- @view-transition
- Scroll snap improvements
- CSS can now handle complex scroll-linked and page transition animations that previously required heavy JavaScript.
- add unit, maybe
Qs,mshz,khzdpi,dpcm,dppx