0

Why default code made in css/html?

Like disc in list-style-type (CSS) What the function default made in css?

7th Dec 2020, 10:45 PM
Ahmad Zulfi Rais
Ahmad Zulfi Rais - avatar
3 Respuestas
+ 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.
8th Dec 2020, 1:35 AM
David Carroll
David Carroll - avatar
+ 2
Please restate your question.
7th Dec 2020, 11:15 PM
Chris Coder
Chris Coder - avatar
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
8th Dec 2020, 3:32 AM
Ore
Ore - avatar