New properties - nt1m/CSS-Texture-Specification GitHub Wiki

With the CSS Texture specification. There are new properties coming.

font-fill

Usage

This property will allow coloring text using a gradient or any texture.

Example

@texture awesometexture {
    background-image: linear-gradient(red, blue);
    filter: blur(5px);
}
p {
    font-fill: texture(awesometexture);
}

background-texture

Usage

This property will allow using a texture as background.

Syntax

background-texture: texture([texture-name])

Inside the background shorthand

background: color position/size repeat origin clip attachment image|texture|initial|inherit;

Example

p {
    background-image: linear-gradient(red, blue); /* fallback */
    background-texture: texture(awesometexture); /* Using CSS Textures */
}
⚠️ **GitHub.com Fallback** ⚠️