border color change and margin/padding change on snippet