imgix APIs
レンダリング API
CSSプレフィックス

CSSプレフィックス

prefix

生成されたCSSスタイルのクラスプレフィックスを設定し、クラス名の「image」を置換します。

palettejson に設定されている場合、 prefix は無視されます。 prefix=frog を設定すると、次のCSSが生成されます:

.frog-fg-1 {
  color: #ffd905 !important;
}
.frog-bg-1 {
  background-color: #ffd905 !important;
}
.frog-fg-2 {
  color: #33ba57 !important;
}
.frog-bg-2 {
  background-color: #33ba57 !important;
}
.frog-fg-3 {
  color: #01932f !important;
}
.frog-bg-3 {
  background-color: #01932f !important;
}
.frog-fg-4 {
  color: #091c4e !important;
}
.frog-bg-4 {
  background-color: #091c4e !important;
}
.frog-fg-ex-1 {
  color: #ffffff !important;
}
.frog-bg-ex-1 {
  background-color: #ffffff !important;
}
.frog-fg-ex-2 {
  color: #000000 !important;
}
.frog-bg-ex-2 {
  background-color: #000000 !important;
}