use snap css class