gray coding and css