enzo-mourany / css-property-sorter

VSCode extension that allows to sort css properties in a logical and consistent order

Home Page:https://marketplace.visualstudio.com/items?itemName=EnzoMourany.css-property-sorter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't sort @keyframes properties

enzo-mourany opened this issue · comments

Sort.ts don't have to sort @Keyframes properties, like on this example :

Before :

section
{
        min-height: 100vh;
	justify-content: center;
	align-items: center;
	display: flex;
	background: #1c1c25;
}

@keyframes identifier
{
	0%
	{
		transform: translateX(-100%);
	}
	100%
	{
		transform: translateX(0);
	}
}

After

section
{
	display: flex;
	justify-content: center;
	align-items: center;
        min-height: 100vh;
	background: #1c1c25;
}

@keyframes identifier
{
	0%
	{
		transform: translateX(-100%);
	}
	100%
	{
		transform: translateX(0);
	}
}

The keyframes part must remain as it is after sort.