Having trouble changing the display style inside of the #shadow-root and targeting it. Can I do it through CSS or JS?
#retirement-services-modal #rs-two-col::shadow(.wrapper) {
display: flex;
align-items: center;
}
<div id="retirement-services-modal">
<sdf-layout-two-col id="rs-two-col">
#shadow-root
<div class="wrapper">
<div class="col-1">content goes here</div>
<div class="col-2">content goes here</div>
</div>
</sdf-layout-two-col>
</div>
Attempting to target the .wrapper
inside the #shadow-root
to apply display: flex;
and align-items: center;
.
Tried using ::shadow
and ::part
, but they did not work. Any other suggestions for targeting it with CSS?