I have several divs with a determined css class.
I want to manually add pixels to top property:
.class { top: 100px; }
div class=”class” style=”top:+=50px”
Is it possible do to something like that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not with straight CSS. Using a preprocessor like LESS or SASS can do that server-side.
You can accomplish the same thing with jQuery/JavaScript.