CSS to implement QQ browser functions

CSS to implement QQ browser functions

background-image:
 linear-gradient(direction, color-stop1, color-stop2, ...);

Code

Knowledge Points

1. Combine fullpage.js to achieve full-screen scrolling

2. The linear-gradient() function in CSS is used to create a linear gradient "image".

value describe
direction Use an angle value to specify the direction (or angle) of the gradient.
color-stop1, color-stop2,… Used to specify the start and end colors of the gradient.

3. Center the block-level label

position:absolute;
left:50%;
top:50%;
Margin-left: half of its own width;
Margin-top: half of its own height;

or:

position:absolute;
left:50%;
top:50%;
transform:translateX(-50%) translateY(-50%);

4. Do back-to-back effect:

① First, add perspective effect to the parent box of the back-to-back effect
Add 3D effect to the back-to-back effect parent box transform-style: preserve-3d;
② Using the back-face hidden attribute: backface-visibility:hidden
③ Animation effect, continuous rotation

5. Ring rotation effect

① Custom animation ② Adjust different XYZ angles to create a rotation effect

6. Failure Effect

Initially, there is a current class that makes all content twice as large. When the screen changes, the class name is deleted. All animations are completed within 1.5 seconds to achieve the effect of falling.

insert image description here
insert image description here

7.The lines in the three screens have revolution and rotation. The revolution is around the center Q, and the rotation is ○ around the Y axis.

Operation effect


insert image description here
insert image description hereinsert image description here

Summarize

This is the end of this article about how to implement QQ browser functions with CSS. For more relevant css qq browser content, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

<<:  Linux Cron scheduled execution of PHP code with parameters

>>:  Three.js realizes Facebook Metaverse 3D dynamic logo effect

Recommend

JavaScript to achieve simple drag effect

This article shares the specific code of JavaScri...

Solve the problem that Navicat cannot connect to MySQL on the Linux server

At the beginning, I felt sad. The screenshots are...

Install mysql5.7.13 using RPM in CentOS 7

0. Environment Operating system for this article:...

Summary of the use of special operators in MySql

Preface There are 4 types of operators in MySQL, ...

A brief analysis of the configuration items of the Angular CLI release path

Preface Project release always requires packaging...

Summary of MySQL ALTER command knowledge points

When we need to change the table name or modify t...

Detailed process of installing Presto and connecting Hive in Docker

1. Introduction Presto is an open source distribu...

Detailed explanation of basic concepts of HTML

What is HTML? HTML is a language used to describe...

Demystifying the HTML 5 Working Draft

The World Wide Web Consortium (W3C) has released a...

HTML drawing user registration page

This article shares the specific implementation c...

A brief discussion on VUE uni-app's commonly used APIs

Table of contents 1. Routing and page jump 2. Int...

jQuery plugin to implement minesweeper game (3)

This article shares the third article on how to u...

How to allow all hosts to access mysql

1. Change the Host field value of a record in the...

Tips for viewing History records and adding timestamps in Linux

Tips for viewing History records and adding times...