CSS logic

Inspired by the great work of Sirdarckcat on CSK2, I’ve decided to produce a POC which performs basic logic in pure CSS. The example simply adds the numbers together depending on which checkbox you check. My next experiment will be with loops and then we can start creating some really cool games in CSS :D

Check it out here:-
CSS Logic

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon

Comments 3

  1. thornmaker wrote:

    Nice work Gareth. I noticed your css grows rather quickly as the number of checkboxes grows so I created a modified version that avoids this. SDC helped to get the Total to update properly. See http://p42.us/stuff/css02.html

    Posted 28 Nov 2007 at 5:57 am
  2. 排 尾 DaCat wrote:

    We can multiply now!! :D

    http://www.sirdarckcat.net/cskc.html

    It’s a little buggy, but.. is acceptable hehe

    Posted 28 Nov 2007 at 6:05 am
  3. Gareth Heyes wrote:

    @Thornmaker @sdc

    Great work :) It’s moving along nicely

    Posted 28 Nov 2007 at 9:01 am

Post a Comment

Your email is never published nor shared. Required fields are marked *

Comment spam protected by SpamBam