سؤال

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