class to stop scrolling in css code example Example: css prevent background scrolling <body scroll="no" ></body> or css background-attachment: fixed;