I want to style the "end" of the current progress of the HTML5 progress step by adding a small black dot to it, see screen. Thus, this point should move as you move forward.

But the code I found here no longer works. It worked a few weeks ago or so, but now it’s not: look at the code
Maybe someone knows what happened or how to achieve my goal?
Thank you so much!
PS Here is the HTML / CSS that I use
HTML:
<progress value="1400" max="4261"></progress>
CSS
progress {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 50px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
background-color: transparent;
color: #00D38D;
}
progress[value]::-webkit-progress-value {
position: relative;
background: #00d38d;
}
progress[value]::-webkit-progress-value::after {
content: '';
width: 20px;
height: 20px;
position: absolute;
right: 10px;
top: 15px;
border-radius: 50px;
background: black;
}
progress::-webkit-progress-bar {
background-color: transparent;
}
progress::-webkit-progress-value {
background-color: #00D38D;
}
progress::-moz-progress-bar {
background-color: #00D38D;
}
source
share