当前位置:网站首页>Background attribute compound writing
Background attribute compound writing
2022-06-12 08:40:00 【Little boy who likes hot pot】
1. Background attribute compound writing order
background: The background color , Background image address , Background tile , Background image scrolling , Background image location
Code :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Background attribute compound attribute </title>
<style>
body{
/* background-image: url(images/bg.jpg); */
/* background-repeat: no-repeat; */
/* background-position: center top; */
/* background-attachment: scroll; */
/* Fix the background picture */
/* background-attachment: fixed; */
background: black url(images/bg.jpg) no-repeat fixed center top;
color: #fff;
font-size: 20px;
}
</style>
</head>
<body>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
<p> The background is fixed </p>
</body>
</html>Running effect :

边栏推荐
- What kind of sparks will be generated when the remote sensing satellite meets the Beidou navigation satellite?
- Beidou satellite navigation system foundation part 1
- (p21-p24) unified data initialization method: List initialization, initializing objects of non aggregate type with initialization list, initializer_ Use of Lisy template class
- Figure neural network makes Google maps more intelligent
- Installation series of ROS system (I): installation steps
- Display the remaining valid days according to the valid period
- Get last month, current time and next month
- Principle and configuration of MPLS
- x64dbg 调试 EXCEPTION_ACCESS_VIOLATION C0000005
- QT realizes multi screen and multi-resolution adaptation
猜你喜欢

Build personal blog and web.

Ankerui motor protector has the functions of overload inverse time limit, overload definite time limit, grounding, starting timeout, leakage, underload, phase failure, locked rotor, etc

【新规划】

电气火灾探测器对各用电回路进行实时监控

What is the MES system? What is the operation process of MES system?

QT realizes multi screen and multi-resolution adaptation

Centso8 installing mysql8.0 (Part 2)

ctfshow web4

MSTP的配置与原理

Error: what if the folder cannot be deleted when it is opened in another program
随机推荐
When the uniapp page jumps with complex data parameters.
In the era of intelligent manufacturing, how do enterprises carry out digital transformation
【数据存储】浮点型数据在内存中的存储
[open source project] easycmd command graphical software
The residual pressure monitoring system ensures the smoothness of the fire evacuation passage in case of fire, and protects the safe operation of large high-rise buildings and the safety of people's l
Judge whether the object is empty
Detailed explanation of private, public and interface attributes in cmake
You have an error in your SQL syntax; use near ‘and title=‘xxx‘‘ at line 5
ctfshow web 1-2
【 pointeur avancé Ⅲ】 mise en œuvre de la fonction de tri rapide qsort& fonction de rappel en langage C
Where does the driving force of MES system come from? What problems should be paid attention to in model selection?
Install iptables services and open ports
Website colab and kaggle
Beidou satellite navigation system foundation part 1
电气火灾探测器对各用电回路进行实时监控
MES helps enterprises to transform intelligently and improve the transparency of enterprise production
Dynamic segment tree leetcode six hundred and ninety-nine
记Date类型的一次踩坑
Convert spaces to < br / > newline labels
Regular expressions in JS