Hi,
I am trying to remove the background of Scalebar at 4.12 using widgets styles but still, the transparent background appears
ScaleBar widget | ArcGIS API for JavaScript 4.13
Please help me.
Imtiyaz,
Just add this css rule to your apps style section:
<SPAN class="selector token">.esri-scale-bar__line</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">background-color</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="token function">rgba</SPAN><SPAN class="punctuation token">(</SPAN>255,255,255,0<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thanks a lot.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.