javascript - How to apply a css loader to just one specific part of content -
I am thinking that it is possible to implement a loader image for only one particular part of the content on the webpage?
The tutorials I have seen for loader images are for the entire webpage - what I would like to do, only apply a plain loader to a single device.
I am creating a website, there are 2 profile images for leveled staff members on each other, so when you hover over the image, it fades the image on the back I use this method Because we want a smooth transition roaming. The only problem is that when you open the page with the speed of slow internet, you see the image of the bottom / back up to a load above what we do not want. When you move on the image of the profile, you will only see the image.
Any ideas how can I create a loader image for this part of the content?
Here is a page on development server:
Thanks for the information DeeMac I did not even think of not doing this as I described the image below as well as hiding it below.
I have changed the code, so now the contents of the bottom / rear are 'visibility: hidden; 'And only' visibility: visible; ' When the area is filled.
Comments
Post a Comment