Home >Web Front-end >CSS Tutorial >Use CSS code to easily DIY your web page scroll bar_CSS/HTML

Use CSS code to easily DIY your web page scroll bar_CSS/HTML

WBOY
WBOYOriginal
2016-05-16 12:11:251482browse

When browsing the web, we can sometimes see that the scroll bar color of some web pages is not the system default, but beautiful red or other colors. In fact, this is achieved by adding code between the web page codes. What are the specific ones? What about the code?
The webpage scroll bar code and its explanation are as follows: (Please change the uppercase angle brackets to lowercase when copying)

The following is a quotation fragment:

The above codes, from the Body below, anything after the # sign is a color code, and the color code is hexadecimal. The text in brackets is a comment on the code on the left. Do not enter it when adding the web page code. In this way, you can DIY your own web scroll bar.

Source: China Webmaster Information Network

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn