TakumiTakumi

Style

CSS property surface — what Takumi supports, what's partial, what's silently ignored.

Takumi parses inline style, the tw Tailwind prop, and external stylesheets through one CSS engine. The table below lists every property the engine recognises, grouped by category. Anything not listed is parsed leniently (it won't throw) but has no effect on layout or rasterization.

Status legend: Supported behaves like a browser, Partial parses but only honours a subset of values, Unsupported is accepted by the parser for forward-compat but does nothing.

Box model

displaySupported
flex | inline-flex | grid | inline-grid | block | inline-block | inline | none
positionPartial
relative | absolute

static and fixed are treated as relative.

width / height / min-* / max-*Supported
px, %, vw, vh, em, rem, auto
aspect-ratioSupported
padding / padding-*Supported
margin / margin-*Supported
inset / top / right / bottom / leftSupported
box-sizingSupported
overflow / overflow-x / overflow-yPartial
visible | clip | hidden

scroll is treated as hidden.

visibilityPartial
visible | hidden
z-indexSupported
float / clearPartial

Block-level float layout — inline wrapping around floats is not implemented.

directionSupported
ltr | rtl

Flexbox

flex / flex-grow / flex-shrink / flex-basisSupported
flex-direction / flex-flowSupported
flex-wrapPartial
nowrap | wrap | wrap-reverse
justify-content / justify-items / justify-selfSupported
align-content / align-items / align-selfSupported
place-content / place-items / place-selfSupported
gap / row-gap / column-gapSupported
orderSupported

Grid

grid-template-columns / grid-template-rowsSupported
repeat(3, 1fr) | 100px auto 1fr | [a] 1fr [b] 2fr

Named lines, repeat(), and minmax() are supported.

grid-template-areasSupported
grid-auto-columns / grid-auto-rows / grid-auto-flowSupported
grid-column / grid-row / grid-areaSupported
span 2 / auto | 1 / 3

Typography

colorSupported
font-familySupported

Fallback chain resolved per-glyph across loaded fonts.

font-sizeSupported
font-weight / font-style / font-stretchSupported
font-variation-settingsSupported

Variable-font axis tuning.

font-feature-settingsSupported
font-synthesis / font-synthesis-weight / font-synthesis-stylePartial
none | weight | style | auto
line-heightSupported
letter-spacing / word-spacingSupported
text-alignSupported
vertical-alignSupported
text-overflowPartial
ellipsis | clip | <string>
text-transformPartial
none | uppercase | lowercase | capitalize
text-shadowSupported
text-decoration / text-decoration-line / -color / -thicknessPartial
underline | line-through | overline

text-decoration-style only accepts solid.

text-decoration-skip-inkPartial
auto | none
text-wrap / text-wrap-mode / text-wrap-stylePartial
wrap | nowrap | balance | pretty
white-space / white-space-collapsePartial
normal | pre | pre-wrap | pre-line | preserve | collapse | preserve-spaces | preserve-breaks
word-breakPartial
normal | break-all | keep-all | break-word
overflow-wrapSupported
line-clampSupported
3 | 1 '…'

Pass a number, or a number followed by a string literal to override the trailing ellipsis.

text-fitSupported

See the css-text-4 spec — auto-resize text to fill a fixed-size container.

-webkit-text-stroke / -webkit-text-stroke-width / -color / -webkit-text-fill-colorSupported
stroke-linejoinPartial
miter | round | bevel

Background & color

background-colorSupported
background-imageSupported
url() | linear-gradient() | radial-gradient() | conic-gradient() | repeating-*
background-position / background-size / background-repeat / background-clipSupported
background-blend-modeSupported
opacitySupported

Color spaces

Modern CSS color syntax is supported across every color-accepting property:

rgb() / rgba() / hsl() / hsla()Supported
oklch() / oklab() / lch() / lab()Supported

Perceptually-uniform spaces; useful for gradient stops without grey banding.

color()Supported
color(display-p3 1 0 0) | color(rec2020 …)

Wide-gamut colors are output 1:1 — what the consumer does with them depends on the format.

color-mix()Supported
color-mix(in oklch, red 40%, blue)

Borders & outlines

border / border-* / border-width / -colorSupported
border-stylePartial
solid | none
border-radius / border-*-radiusSupported
outline / outline-width / -color / -offsetSupported
outline-stylePartial
solid | none

Effects

box-shadowSupported

Comma-separated multi-shadow stacks supported. inset works.

filterSupported
blur() | brightness() | contrast() | drop-shadow() | grayscale() | hue-rotate() | invert() | saturate() | sepia() | opacity()
backdrop-filterSupported

Same function set as filter; applied to content behind the element.

mix-blend-modeSupported

All 16 standard modes: normal, multiply, screen, overlay, darken, lighten, color-dodge, color-burn, hard-light, soft-light, difference, exclusion, hue, saturation, color, luminosity.

isolationSupported
image-renderingPartial
auto | smooth | pixelated

Transforms

transformPartial
translate() | scale() | rotate() | skew() | matrix()

2D only. 3D transforms and matrix3d() are accepted but flattened.

transform-originSupported
perspectiveUnsupported

Parsed for forward-compat; has no effect since 3D transforms are flattened.

Clipping & masking

clip-pathSupported
inset() | circle() | ellipse() | polygon() | path()
clip-ruleSupported
mask-image / mask-size / mask-position / mask-repeatSupported
object-fit / object-positionSupported

Animation

animation / animation-name / -duration / -delay / -iteration-count / -direction / -fill-mode / -play-stateSupported

Backed by @keyframes registered through stylesheets or the keyframes option.

animation-timing-functionPartial
linear | ease | ease-in | ease-out | ease-in-out | step-start | step-end | steps() | cubic-bezier()
Edit on GitHub

Last updated on

On this page