New CSS logic