basic snap css and layout.