how to access elements from an element in css code example
Example 1: how to select elements from a parrent element css
// select all p elements with div as parent
div > p {
background-color: yellow;
}
Example 2: js how to get element csswidth
document.getElementById("id").getBoundingClientRect().width
//or
document.getElementById("id").style.width
//document.getElementById("id").getBoundingClientRect() - will return all css properties of the emelemnt