Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Internet Explorer のフィルター グラデーションを作成する小さな mixin を作成しようとしています。この関数は filter-gradient と呼ばれ、2 つの色パラメーターを取ります。
たとえば #ffffff のカラー値を渡すと、スタイラスはこれを自動的に #fff に短縮します。ロングハンドバージョンを維持する方法はありますか?
ありがとう
unquote()これには関数を使用できるため、短縮なしでunquote('#ffffff')常に , が得られます。#ffffff
unquote()
unquote('#ffffff')
#ffffff