Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement web

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to achieve web for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Here is an example.

.bod1

/ * background:-webkit-linear-gradient (to right, # f7797d, # FBD786, # C6FFDD); * /

/ * background-image: url ("2558.jpg");

/ * background-size:cover;*/

Background: # aa4b6b; / * fallback for old browsers * /

Background:-webkit-linear-gradient (to right, # 3b8d99, # 6b6b83, # aa4b6b); / * Chrome 10-25, Safari 5.1-6 * /

Background: linear-gradient (to right, # 3b8d99, # 6b6b83, # aa4b6b); / * W3C, IE 10 / Edge, Firefox 16, Chrome 26, Opera 12, Safari 7 + * /

. search-box

Position: absolute

Top: 50%

Left: 50%

Transform: translate (- 50% Murray 50%)

Background: # FD2C6B

Height: 40px

Border-radius: 30px; / * fillet border * /

Padding: 10px

.search-box:hover > .search-text

Width: 400px

.search-box:hover > .search-btn

Background: white

Color: # 26087b

. search-btn

Color: white

Float: right

Width: 40px

Height: 40px

Border-radius: 50%

Background:#FD2C6B

Display: flex

Justify-content: center

Align-items: center

Transition: 0.5s

. search-text

Border: none

Background: none

Outline: none

Float: left

Padding: 0

Color: white

Font-size: 20px

Font-family: "Microsoft YaHei UI Light"

Transition: 0.5s

Line-height:40px

Width: 0px

This is the end of the article on "how to achieve web". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report