The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to have a calculation on DIV.innerHTML using ONLY CSS
I would like to know how we can have a calculation on DIV’s innerHTML value.
Please mind, I am looking for only CSS solution… I know JS can do :)
for an example multiplication by -1 ========
and After applying CSS I can see output as beneath –
CSS can’t do calculations on HTML content…it styles content, it can’t change it