How to add variable and do loop in CSS -


is possible add variable , loop in css php:

for($a=6; $a<9; $a++) { "#divshow"+$a } 

so, result be:

#divshow6 #divshow7 #divshow8 

any idea? in advance.

no. there no 'variables' or 'loops' in css. not turing-complete language. css classes for, don't have generate ids.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -