CSS-inspired extension to @Thymeleaf