add some snippets in css, js file