0
Why default code made in css/html?
Like disc in list-style-type (CSS) What the function default made in css?
3 Answers
+ 5
What the function you asking? đđ€Ł
I'm sorry... I couldn't resist. That was too funny.
Ahmad Zulfi Rais Can you give an example of what you are referring to?
Your question seems to be getting lost in translation.
+ 2
Please restate your question.
0
It's a technique known as shadow DOM. Complex elements like <ul> and <input type="range"> are implemented from other basic HTML elements and some CSS styles. But it is encapsulated in a closed shadow DOM. So you can not directly modify the structure.
If you need to change how it is structured. You can define a web component using window.customElements.define function.
https://developers.google.com/web/fundamentals/web-components/shadowdom
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM
https://javascript.info/shadow-dom