Simple implementation of html hiding scroll bar

Simple implementation of html hiding scroll bar

1. HTML tags with attributes

XML/HTML CodeCopy content to clipboard
  1. < html   lang = "en"   class = "no-ie"   style = "overflow:hidden;" >   

2. Add the following code to body

XML/HTML CodeCopy content to clipboard
  1. < style   type = "text/css" >      
  2. html{
  3. overflow-x:hidden;
  4. overflow-y: hidden;
  5. }
  6. </ style >   

The above simple implementation of hiding the scroll bar in html is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

Original URL: http://www.cnblogs.com/rocky-fang/p/5633053.html

<<:  Three ways to implement waterfall flow layout

>>:  Example of using negative margin to achieve average layout in CSS

Recommend

Vue implements nested routing method example

1. Nested routing is also called sub-routing. In ...

HTML design pattern daily study notes

HTML Design Pattern Study Notes This week I mainl...

Use of filter() array filter in JS

Table of contents 1. Introduction 2. Introduction...

Javascript basics about built-in objects

Table of contents 1. Introduction to built-in obj...

Trash-Cli: Command-line Recycle Bin Tool on Linux

I believe everyone is familiar with the trashcan,...

Examples of using MySQL covering indexes

What is a covering index? Creating an index that ...

Specific example of MySQL multi-table query

1. Use the SELECT clause to query multiple tables...

Go to another file after submitting the form

<br />Question: How to write in HTML to jump...

Why MySQL does not recommend deleting data

Table of contents Preface InnoDB storage architec...

CSS Transition expands and collapses elements by changing the Height

A common development need is that we want to coll...