如何解决从CSS工作表中的#shadow-root更改元素的样式角度/离子代码
<ion-segment-button _ngcontent-rao-c6="" class="seg-btn md segment-button-has-label segment-button-has-label-only segment-button-layout-icon-top ion-activatable ion-activatable-instant hydrated segment-button-checked" mode="md" style="--indicator-color-checked: #ff3366;--margin:0px 20px;" value="glucose" ng-reflect-mode="md" ng-reflect-value="glucose">
#shadow-root(open)
<button type="button" class="button-native" aria-pressed="true"><slot></slot><ion-ripple-
effect role="presentation" class="ios hydrated"></ion-ripple-effect></button>
<div class="segment-button-indicator"></div>
<ion-label _ngcontent-rao-c6="" class="detailsGroupName sc-ion-label-ios-h sc-ion-label-ios-s ios
hydrated">
Glucose
</ion-label>
</ion-segment-button>
我正在尝试设置CSS样式表中#shadow-root内部的
”的样式,其属性为{width:30px,self-align:center}。 / p>
我必须使用哪个选择器才能在CSS表单中访问它并设置其样式?
0 个答案:
没有答案
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。