+ 1
CSS only challenge
I've written this code: https://code.sololearn.com/Wz3rY2VQeYgW/#css Problem: I have to do same thing on the previous input. How to do so? Any ideas? Also, how to change styles of button simultaneously?
2 odpowiedzi
+ 1
You can select all inputs with the siblings selector (~), but it won't do what you want, because the button is in the way of the first input, and even if you display:block the input, it won't change the width. The only solution is to get the button first or last.
+ 1
Thanks friends for your time!
I would be using javascript, if no answer appears...