Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

[] lets you :any-link pseudo-class in CSS, following the [Selectors] specification.

<example.css>

/* becomes */

<example.expect.css>

Options

preserve

The preserve option determines whether the original notation is preserved. By default, it is preserved.

<exportName>({ preserve: false })
<example.css>

/* becomes */

<example.preserve-false.expect.css>

subFeatures

areaHrefNeedsFixing

The subFeatures.areaHrefNeedsFixing option determines if <area href> elements should match :any-link pseudo-class.
In IE and Edge these do not match :link or :visited.

This increased CSS bundle size and is disabled by default.

<exportName>({
	subFeatures: {
		areaHrefNeedsFixing: true
	}
})
<example.css>

/* becomes */

<example.area-false.expect.css>
[Selectors]: