Suppose you have 10 HTML elements with ids 1 to 9; element 1 has id="1"
, etc. This is what I want to do. "(IdNumber)" is not in syntax and used for only illustration:
// for all elements
#(IdNumber) {width: (IdNumber)%;}
So the end result should make the width of each element equal to its id; first element's width is 1%, etc. I want to use an unspecified CSS selector's result, like here it is the id string, inside the brackets as a value.