MCPcopy
hub / github.com/tailwindlabs/tailwindcss / handle

Function handle

packages/tailwindcss/src/utilities.ts:2678–2681  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

2676 staticUtility('bg-contain', [['background-size', 'contain']])
2677 functionalUtility('bg-size', {
2678 handle(value) {
2679 if (!value) return
2680 return [decl('background-size', value)]
2681 },
2682 })
2683
2684 staticUtility('bg-fixed', [['background-attachment', 'fixed']])

Callers 4

spacingUtilityFunction · 0.85

Calls 1

declFunction · 0.90

Tested by

no test coverage detected