8 lines of css == easy dropdown menu . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

8 lines of css == easy dropdown menu .

Check it out . https://code.sololearn.com/W9pN97yBJ0Md/#html

27th Mar 2017, 2:48 PM
Abdel
Abdel - avatar
7 Answers
+ 16
like it
27th Mar 2017, 2:42 PM
Agus Mei
Agus Mei - avatar
+ 5
Very good effort and rendering
27th Mar 2017, 3:30 PM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 4
I am getting error unexpected token at line 2. In home, about us..Product is working fine. Kindly, check. Otherwise, nice work 🙂
27th Mar 2017, 3:07 PM
Ashwani Kumar
Ashwani Kumar - avatar
+ 3
Happy to hear that @Agus
27th Mar 2017, 2:47 PM
Abdel
Abdel - avatar
+ 3
Thank you @Ashwani , I don't know why it gives that warning exactly but I'll fix it later . I always use the universal selector to shorten the code . BTW I added a new code under name : auto select . what it does is wether you click the button (select) or double click on the textarea to auto select the text . check it out , hope you like it too .
27th Mar 2017, 5:11 PM
Abdel
Abdel - avatar
+ 2
@Abdel..Error in your code because of JavaScript.void() Change it to javascript.void(0) Error is gone.
28th Mar 2017, 3:34 AM
Ashwani Kumar
Ashwani Kumar - avatar
+ 2
thank you @Kumar
29th Mar 2017, 12:21 AM
Abdel
Abdel - avatar