简体   繁体   English

如何更改SVG Bootstrap Carousel控件?

[英]How to change SVG Bootstrap Carousel controls?

Looking inside sass variables on Bootstrap 4 i find the SVG control icon and i'd like to edit the SVG editing on illustrator. 在Bootstrap 4上的sass变量内部查看,我找到了SVG控件图标,我想在illustrator上编辑SVG编辑。 I can open in Illustrator but i can't return to generate the same code... 我可以在Illustrator中打开,但无法返回以生成相同的代码...

  $carousel-control-prev-icon-bg: str-      
   replace(url("data:image/svg+xml;charset=utf8,%3Csvg     
   xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}'   
   viewBox='0 0 8 8'%3E%3Cpath d='M640,0L240,400l400,400l45-   
  45L330.5,400L679,39L640,0z'/%3E%3C/svg%3E"), "#", "%23") !default;

我找到了用Illustrator中编辑svg的路径替换svg来更改url的方法。

$carousel-control-prev-icon-bg: url("edited.svg");

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM