Home JS special effects Other special effects CSS3 full-screen image parallax scrolling switching effect

CSS3 full-screen image parallax scrolling switching effect

CSS3 full-screen image parallax scrolling switching effect

CSS3 full-screen image parallax scrolling switching effect

This is a full-screen image parallax scrolling switching effect based on CSS3, and a web page scrolling parallax switching code.

<style>

* { padding: 0; margin: 0 }
body { text-align: center; /*background-attachment:fixed;*/ width: 100%; }
#main { width: 100%; margin: auto }
/*.header{
                 background:#fff;
               
        }*/
.header { width: 100%; height: 1080px; overflow: hidden; position: relative; background: url("a1.png") center center no-repeat; background-attachment: fixed; background-size: cover; }
.header2 { background: url("a3.png") center center no-repeat; background-attachment: fixed; background-size: cover; }
.text { position: absolute; top: 30%; left: 300px; }
.text p { font-size: 30px; font-family: "Microsoft Yahei"; color: #fff; }
.bg-attachment { background: url("a2.png") center center no-repeat; background-attachment: fixed; background-size: cover; }
.bg-attachment .shadow { width: 100%; height: 1080px; overflow: hidden; margin: auto; }
.div2 { background: url("a4.png") center center no-repeat; background-attachment: fixed; background-size: cover; }
</style>
Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

CSS3+fullPage.js implements full-screen scrolling effect code CSS3+fullPage.js implements full-screen scrolling effect code

08 May 2017

This article mainly introduces fullPage.js and CSS3 to achieve full-screen scrolling effect in detail. It has certain reference value. Interested friends can refer to it.

Responsive full-screen scrolling page switching effect based on html5 and css3_html/css_WEB-ITnose Responsive full-screen scrolling page switching effect based on html5 and css3_html/css_WEB-ITnose

24 Jun 2016

Responsive full-screen scrolling page switching effect based on html5 and css3

jQuery full screen focus image left and right scrolling special effect code sharing_jquery jQuery full screen focus image left and right scrolling special effect code sharing_jquery

16 May 2016

This article mainly introduces the jQuery full screen left and right scrolling effect of the focus image, and an exquisite focus image carousel code. Friends in need can refer to it.

How to make CSS3 adaptive full-screen focus image switching special effects How to make CSS3 adaptive full-screen focus image switching special effects

24 Nov 2017

I will bring you the full-screen background switching focus image effect using pure CSS3. No JS code is included. It is easy to understand and easy to use. Friends who need it can move it directly. Let's take a look below

Imitation of Sohu women's channel FLASH picture switching effect_image special effects Imitation of Sohu women's channel FLASH picture switching effect_image special effects

16 May 2016

When using it, you can refer to some other special effects on this site.

How to implement image and video special effects in C++? How to implement image and video special effects in C++?

26 Aug 2023

How to implement image and video special effects in C++? With the development of modern science and technology today, image and video special effects play an important role in entertainment, advertising, education and other fields. As a powerful programming language, C++ provides many tools and libraries for processing images and videos. This article will introduce how to implement image and video special effects in C++ and provide some code examples. 1. Image special effects to realize image reading and saving. To realize image special effects, you first need to read and save images. There are many image processing libraries in C++ such as OpenCV and

Describe Canvas combined with JavaScript to achieve picture special effects Describe Canvas combined with JavaScript to achieve picture special effects

07 Mar 2018

We all know that canvas is in HTML5. Canvas can make many special effects and other magical things. Of course, JavaScript can also do it. But have you ever played with canvas and JavaScript to achieve image special effects? If not, let’s take a look!

How to use Vue to implement digital animation special effects How to use Vue to implement digital animation special effects

21 Sep 2023

How to use Vue to implement digital animation special effects Preface: In web applications, digital animation special effects are often used to display statistical data, countdowns, or other scenes that need to highlight the effects of digital changes. As a popular JavaScript framework, Vue provides rich data binding and transition animation functions, which is very suitable for realizing digital animation special effects. This article will introduce how to use Vue to implement digital animation special effects and provide specific code examples. 1. Set initial data: First, we need to set a variable in the Vue component

What software is used to create TikTok's Disney special effects_TikTok's Disney special effects face creation tutorial What software is used to create TikTok's Disney special effects_TikTok's Disney special effects face creation tutorial

18 Apr 2024

1. Production - users only need to upload their own selfies or other people's portraits to convert them with one click, and the operation is very convenient; 2. Popularity - not only Disney special effects faces, but also other popular special effects are available at any time. Experience; In this experiment, you can also make filters by yourself. You can freely set various contents according to your own preferences, and the filter style can be changed freely. 1. After downloading and installing toonme, you can enter the software and select the special effects filter you want. 2. Check the photos you want to create and choose to start creating them immediately. 3. Wait for a moment, and the processed special effects picture will appear. 4. There are save local and share buttons in the upper right corner. The production of Douyin Disney special effects face and the introduction of software,

See all articles See all articles

Hot Tools

jQuery+Html5 realizes beautiful confession animation code

jQuery+Html5 realizes beautiful confession animation code

jQuery+Html5 implements beautiful confession animation code, the animation effect is great, a must-have for programmers to confess!

Couple's romantic confession js special effects code

Couple's romantic confession js special effects code

JS special effects code for couples' romantic confession. Such special effects can be used on wedding photography websites or placed on personal websites. It is also a good special effect. PHP Chinese website recommends downloading!

Simple js love confession artifact

Simple js love confession artifact

Simple native js love confession artifact

Bunker's html5 particle animation expressive effects

Bunker's html5 particle animation expressive effects

Bunker's html5 particle animation expression special effects code, the animated special effects text can be changed in the code, you can make a page where you can customize text input, it should be very popular, this HTML5 special effect is very beautiful.

jQuery responsive background login interface template

jQuery responsive background login interface template

jQuery responsive backend login interface template html source code. The login page uses jquery to verify the form and determine whether the username and password meet the requirements. Usually the login page is a page that must be used on corporate websites or mall websites. Responsive backend pages, When the browser zooms in or out, the background will resize the image according to the browser! PHP Chinese website recommends downloading!

Hot Article

Pokemon Pocket: How To Play With Friends
02 Nov 2024 Mobile Game Guide
All Black Ops 6 safehouse puzzle solutions
26 Oct 2024 Mobile Game Guide
Brotato: Best Hunter Build
13 Nov 2024 Mobile Game Guide
The Sims 4: Life & Death - Guardian Tree Guide
03 Nov 2024 Mobile Game Guide