简体   繁体   中英

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. I can open in Illustrator but i can't return to generate the same code...

  $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");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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