Skip to content

[css-images-4] possible element() use cases for spec #6998

@jsnkuhn

Description

@jsnkuhn

possible element() use cases for spec. Firefox only right now (FF has only current implementation):
https://codepen.io/jsnkuhn/pen/wFcqz?editors=1000

Example 1: a little more aesthetically pleasing example of background text from an element

Example 2: uses an inline SVG squircle as a mask-image

Example 3: was trying to do something with border-image but its not working well. Not sure if I borked something or if its an issue with the -moz implementation.

https://drafts.csswg.org/css-images-4/#element-notation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions