Reputation: 3635
Chrome ( 103 )
dev tool doesn't show below values under Styles
tab.
I could see this value in FF ( 102 ) under dev tool middle section at top.
Is this bug with Chrome or they have changed location somewhere else ?
progress::-moz-progress-bar {
border-radius: 12px;
background: radial-gradient(6px at 96%, white, white 4px, transparent),
linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
}
progress::-webkit-progress-bar {
background: transparent;
}
progress::-webkit-progress-value {
border-radius: 12px;
background: radial-gradient(6px at 98%, white, white 4px, transparent),
linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
}
Upvotes: 1
Views: 302
Reputation: 10212
Make sure you have enabled "Show user agent Shadow DOM" in the Settings > Preferences > Elements
You need to have appearance: none
on the progress element for the pseudo elements to take effect. Then you can inspect the shadow DOM and see the corresponding values in the Styles pane.
Upvotes: 3