I have recently installed Emmet in my Notepad++. All the short codes are working fine. But when I tried to apply css short code in case of gradient, it is not working.

Can anyone please help me?

有帮助吗?

解决方案

Try this:

lg(left,#fff 10%, #000)

Keep in mind radial gradients are not supported yet if this is what you are trying to accomplish.

http://docs.emmet.io/css-abbreviations/gradients/

其他提示

I think it's a bug in Notepad++ version. I had also reported the issue. The suggested workaround is to add CSS property abbreviation, like so

bg:lg(left, #fff 50%, #000)
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top