Answers for "disable x scroll css"

4

hide horizontal scrollbar css

.x-scroll-disabled {
	overflow-x: hidden;
}
Posted by: Guest on March-23-2020
6

disable scroll css

/* Answer to: "disable scroll css" */

/*
  You must set the height and overflow of the body, to disable
  scrolling.
*/

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden
}
Posted by: Guest on April-20-2020
0

css lock scroll

/* EXAMPLE */
body {
	overflow: hidden; /*[to unlock scroll:overflow: visible;]*/
}

/*SYNTAX
overflow: hidden;
*/
Posted by: Guest on February-25-2021

Browse Popular Code Answers by Language