当前位置:网站首页>Background color translucent
Background color translucent
2022-06-12 08:40:00 【Little boy who likes hot pot】
1. How to write it :
background:rgba(0,0,0,0.3);
r:red g:green b:black
The last parameter is alpha transparency , The value range is 0—1 Range (0 For opacity ,1 For transparency ,0 To 1 The middle value of is translucent )
2. Background translucency refers to the translucency of the box background , The contents of the box are not affected
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 color transparent writing </title>
<style>
div{
width: 300px;
height: 300px;
background: rgba(0,0,0,0.3);
}
</style>
</head>
<body>
<div> Background color transparent writing </div>
</body>
</html> Running effect :
边栏推荐
- Webrtc adding third-party libraries
- Centso8 installing mysql8.0 (Part 2)
- What is the difference between ERP production management and MES management system?
- Encapsulate the amount input box component.
- Engineers learn music theory (II) scale and tendency
- 电气火灾探测器对各用电回路进行实时监控
- 动态线段树leetcode.699
- Oracle installation details (verification)
- Query in MySQL
- Database foundation -- normalization and relational schema
猜你喜欢

【指针进阶三】实现C语言快排函数qsort&回调函数

What is the quality traceability function of MES system pursuing?

Hands on deep learning 18 -- model selection + over fitting and under fitting and code implementation

Production scheduling status of manufacturing enterprises and solutions of APS system

The Three Kingdoms kill the surrounding areas -------- explanation of the pig Kingdom kill problem

Website colab and kaggle

How to understand the production scheduling of APS system?

Oracle installation details (verification)

What should be paid attention to when establishing MES system? What benefits can it bring to the enterprise?

深拷贝与浅拷贝的区别
随机推荐
网站Colab与Kaggle
Callback webrtc underlying logs to the application layer
电气火灾探测器对各用电回路进行实时监控
Dynamically create and submit forms
Principle and configuration of MPLS
FDA reviewers say Moderna covid vaccine is safe and effective for children under 5 years of age
What should be paid attention to when establishing MES system? What benefits can it bring to the enterprise?
JVM学习笔记:三 本地方法接口、执行引擎
ASP. Net project development practice introduction_ Item VI_ Error report (summary of difficult problems when writing the project)
安科瑞消防应急照明和疏散指示系统
记Date类型的一次踩坑
svg中viewbox图解分析
Knee joint
Error: what if the folder cannot be deleted when it is opened in another program
Seurat package addmodulescore is used for bulk RNA SEQ data
(P13) use of final keyword
【动态内存管理】malloc&calloc和realloc和笔试题和柔性数组
Hypergeometric cumulative distribution test overlap
Lock mechanism in MySQL
(P14) use of the override keyword