Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #245967
    ravisonar01
    Participant

    Hello Guys,

    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 ========

    <div>-89</div>

    and After applying CSS I can see output as beneath –

    <div>89</div>

    #245973
    Paulie_D
    Member

    No

    CSS can’t do calculations on HTML content…it styles content, it can’t change it

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.