Hide button plus code

ppp Technical Answers 29

I have 2 buttons that have the same class but different IDs. (id="1″ and id="2″)
To hide the button, this code works: button.classname { display: none;}
But it hides two buttons, can I specify the ID of the buttons in the css?
I just want to hide the first button id="1″
I tried using button.classname[id="1″] { display: none;}

😭😭😭😭😭 but it didn't work.
Is there a way to fix this?

What's the code?

Comments

Add comment
  • Comment list is empty

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service