Doubt in code 🥺 [🅢🅞🅛🅥🅔🅓] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 48

Doubt in code 🥺 [🅢🅞🅛🅥🅔🅓]

I don't need this blinking effect during image transition 😔 Can someone please help me out to have smooth image change transition in background 🥺 Here is my try https://code.sololearn.com/Wt7KbVkrCIDq/?ref=app Thank you sooooooooooooooooooooooooooooooooooooooooooo much all for giving your valuable time and helping me 😊😊

16th Dec 2020, 4:47 PM
Demi lune🌙
Demi lune🌙 - avatar
31 Answers
+ 23
[ Solved ]...may be...🤔 ... ... As ✨The INDIAN✨ said images takes some time to load🤗 ... And Atul🦚 has also commented good to add a loader.. .. .. I'm also telling same Add a swal/alert/preloader ; it will give some time to image for loading & your blinking problem gonna to be solve🙂 (I have added some alerts in below code and see its working 👍🏻) Else use js to solve your problem As done by Programmer below⬇️ And ል꙲꙲꙲̵̵͓̫̲̭͔̌̄̄̈́͟͞᭢s҉̑ͯ̌h̶̿̓꙲꙲i꙲꙲ᖽ̿͟͞҈҉҈҉a҈҉҈҉ 🎶🎵 Really your code is amazzing... ... Harsh Caleb Ace🂡 [{TheWaterCoder}] ÃKR Alphin K Sajan Coder Sick L̲̅i̲̅n̲̅e̲̅ B̶r̶o̶🌡️ [TheBloodCoders] Have also a good perspective🙏🏻 ⬇️Here is my attempt(Blinking effect Solved)😊⬇️ https://code.sololearn.com/Wvf3wKoEIDPT/?ref=app
16th Dec 2020, 5:52 PM
Mr. Rahul
Mr. Rahul - avatar
+ 13
remove linear in animation
16th Dec 2020, 4:51 PM
ÃKR
ÃKR - avatar
+ 9
Caleb No ል꙲꙲꙲̵̵͓̫̲̭͔̌̄̄̈́͟͞᭢s҉̑ͯ̌h̶̿̓꙲꙲i꙲꙲ᖽ̿͟͞҈҉҈҉a҈҉҈҉ 🎶🎵 is right , after 1 smooth transition, there is 20 blinking effect between transitions and then smooth further ...
16th Dec 2020, 4:59 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 9
I believe this problem is due to image take time to load first :v To overcome that use a preloader or image loader so u will see animation after all images in code loaded U may refer to this 👇 https://code.sololearn.com/WgJfIUJ1tX7j/?ref=app (I guess that will sort out the problem if not i have another idea too xD) Coder can u check that preloader is ultimate solution or not?
16th Dec 2020, 5:17 PM
Shino
Shino - avatar
+ 9
https://code.sololearn.com/W7hktz55j38o/?ref=app just added a 6 lines of js and a div with id cover happy coding🔥🙌
17th Dec 2020, 7:02 AM
👑𝕻𝖗𝖔𝖌𝖗𝖆𝖒𝖒𝖊𝖗👑
👑𝕻𝖗𝖔𝖌𝖗𝖆𝖒𝖒𝖊𝖗👑 - avatar
+ 8
Mikhail Caleb but not in mine😔 ÃKR still not working 😔
16th Dec 2020, 4:53 PM
Demi lune🌙
Demi lune🌙 - avatar
+ 8
This flash effect is coming because background is white if you change background color of flash change try to use any suitable background so that flash do not look bad
16th Dec 2020, 5:12 PM
Harsh
Harsh - avatar
+ 8
"http://css3.bradshawenterprises.com/cfimg/" Look at the demo no 3 sis Here is that code look similar to that code Atul🦚 preloader is solution but only if she use image tags... On locally this code not showing any gltich so i can say that blinking effect is becoz of images not loaded.... https://code.sololearn.com/Wvf3wKoEIDPT/?ref=app ል꙲꙲꙲̵̵͓̫̲̭͔̌̄̄̈́͟͞᭢s҉̑ͯ̌h̶̿̓꙲꙲i꙲꙲ᖽ̿͟͞҈҉҈҉a҈҉҈҉ 🎶🎵 Behana use image tags becoz its so useful becoz once you loaded html elements that you can show then as you want Eg: you can give class to img tags for smooth transition...
17th Dec 2020, 5:06 AM
Coder
Coder - avatar
+ 6
Looks very smooth on my phone🤷‍♂️👍
16th Dec 2020, 4:50 PM
Mikhail
Mikhail - avatar
+ 6
See There nothing can be done to avoid that white splash It is because the images are changing which are obviously from different servers So it takes a millisecond to get that image from that server That millisecond time is shown by a white colored ""blink"" So To avoid that You might use some background color Or suitable image Happy coding
16th Dec 2020, 5:14 PM
The INDIAN
The INDIAN - avatar
+ 5
looks very smooth on my phone as well
16th Dec 2020, 4:55 PM
Brain & Bones
Brain & Bones - avatar
+ 5
Its probly the seconds that its on
16th Dec 2020, 5:07 PM
xJAYOx
xJAYOx - avatar
16th Dec 2020, 5:12 PM
xJAYOx
xJAYOx - avatar
+ 5
Harsh Smart👏👏
16th Dec 2020, 5:13 PM
xJAYOx
xJAYOx - avatar
+ 4
is your internet bad? maybe it is struggling to keep up?
16th Dec 2020, 4:58 PM
Brain & Bones
Brain & Bones - avatar
+ 4
ል꙲꙲꙲̵̵͓̫̲̭͔̌̄̄̈́͟͞᭢s҉̑ͯ̌h̶̿̓꙲꙲i꙲꙲ᖽ̿͟͞҈҉҈҉a҈҉҈҉ 🎶🎵 I changed the color to pink see if that look good. https://code.sololearn.com/Wk5L1rFHXdck/?ref=app If it does not look good jut change the color to what you like
16th Dec 2020, 5:15 PM
xJAYOx
xJAYOx - avatar
17th Dec 2020, 2:39 AM
ANDY тнє CODER [RECODE]
ANDY тнє CODER [RECODE] - avatar
+ 3
try this. (you will have to wait a second for it to start) https://code.sololearn.com/WF7AHDVaJC0F/?ref=app
16th Dec 2020, 5:02 PM
Brain & Bones
Brain & Bones - avatar
+ 3
Alphin K Sajan, strange. i have no idea what is wrong with it then. sorry 😬
16th Dec 2020, 5:05 PM
Brain & Bones
Brain & Bones - avatar