Regarding frontend | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Regarding frontend

Can It be done by css or there will be use of JavaScript in this... For example how do you add to something like (I'll tell) In picture, when you hover the mouse on it, it gets blurry and shows a text.

4th Jun 2021, 1:56 PM
Minhaj Haider
Minhaj Haider - avatar
4 Answers
+ 2
It could be done with css with no JavaScript. eg. div:hover .txt { display: block; } div .txt { display: none; } Or You can also do it with JavaScript with just toggling the display property of the text.
4th Jun 2021, 2:02 PM
Kirabo Ibrahim
Kirabo Ibrahim - avatar
+ 1
It might be able to be done with CSS but im no expert. I would thing you would need JavaScript
4th Jun 2021, 1:59 PM
Cars
Cars - avatar
0
That should be achievable with Css, with the use of transition ...lets say .test{ Display:none; transition:display 900ms ease-in; } .test:hover{ Display:block: } or instead of display, you can use visibility: none; then visibility:visible; Hope this helps
4th Jun 2021, 11:09 PM
Akinpelumi Taiwo
Akinpelumi Taiwo - avatar