encapsulate style in css