1. HTML code Copy code The code is as follows:Experience points: <span class="progress-bar"><b style="width:50px;"> </b></span> 2. CSS styles Copy code The code is as follows:.progress-bar, .progress-bar b{background: url("/images/ico.png") no-repeat scroll 0 0; display: block;} .progress-bar {background-position: 0 0; height: 15px;width: 430px;} .progress-bar b {background-position: 0 -17px; height: 12px;} appendix: ![]() |
<<: How to use CSS attribute value regular matching selector (tips)
>>: Example of javascript bubble sort
Table of contents 1. What is deconstruction? 2. A...
1. Install mutt sudo apt-get install mutt 2. Inst...
1. Install Zabbix Agent to monitor the local mach...
Table of contents Preface 1. cat command: 2. more...
The reason is simple: In HTML documents, multiple ...
There are two ways to create a primary key: creat...
Preface The most common task after we install a L...
This article example shares the specific code of ...
This article shares the specific code of JavaScri...
Let's first look at the basic syntax of the c...
The commonly used Oracle10g partitions are: range...
HTML tag: superscript In HTML, the <sup> tag...
Preface Recently, many new colleagues have asked ...
Hello everyone, I am Tony, a teacher who only tal...
Preface There is a scenario where, for the sake o...