r/css • u/front-end-guy • Jul 03 '19
Image Slideshow with html and css only
https://youtu.be/B28IaoWn28w1
u/thegaw Jul 03 '19
These are always fun. Was experimenting with them a few years back (oof, 8 years ago. I feel old) too https://lab.tylergaw.com/css-slideshows/ (old code warning there. It all still works, but a number of things would be different today)
I've definitely used this a handful of times on production sites through years. Usually for fancy landing page type stuff.
-3
u/ravepeacefully Jul 03 '19
Yeah but why
3
u/wedontlikespaces Jul 03 '19
What?
If you can avoid using JS you should
6
Jul 03 '19
Well, I do and don’t agree with you. For this case, I disagree.
I can write a JavaScript slider in a fraction of the time it took to write this and with significantly smaller code.
Also, I would have greater control over it with JavaScript, should it need to be updated.
1
1
0
Jul 03 '19
[deleted]
0
Jul 04 '19
[deleted]
0
Jul 04 '19
[deleted]
-1
u/aiseven Jul 05 '19
You sound like every old person that came before you.
"tHiS iSn'T mUsIc!!"
0
Jul 05 '19
[deleted]
-1
u/aiseven Jul 05 '19
Do you really want to go to into the philosophy of what makes sound, music?
Think of ANY kind of music you like. Why do you like the sound of a wooden stick hitting a drum with a snare attacked to it. Or why do you like the sound of a violin string being scraped against by a bow.
0
Jul 05 '19
[deleted]
0
u/aiseven Jul 05 '19
It's an irrelevant question. I don't have to like anything about it to know that just because I don't like a song does not make it not music.
I don't like country music, but I know it's music.
0
Jul 05 '19
[deleted]
0
u/aiseven Jul 05 '19
Fact is that my comment is still the top comment, because people agree with me that this "music" is crap.
So you think it's popular opinion that determines if it's music? EDM is more popular than Jazz. So if you don't think that EDM is music, then do you think that Jazz is not music as well?
Have you ever written any actual music yourself?
Actually, I'm a classically trained pianist and guitarist. I have literally listened to and written many genres of music starting from baroque all the way to EDM.
If you knew anything about music, you would know that it's ALL formulaic and it's ALL subjective. You're just too old and stuck in your ways to appreciate change. You are just like the old people before you who thought that distorted guitars were shit. You're the same person who told Mozart he used too many notes.
→ More replies (0)
8
u/thepineapplehea Jul 03 '19
Your posts might get a bit more traction if you contributed some discussion in the subs that you seem intent on spamming multiple videos a day with ....