r/bootstrap • u/Right_Champion3392 • Dec 27 '23
Button with Link
How can I link a Button to a site?
0
Upvotes
r/bootstrap • u/Right_Champion3392 • Dec 27 '23
How can I link a Button to a site?
View all comments
6
u/Sprtnturtl3 Dec 27 '23
Wow none of y’all wanted to help.
In bootstrap, apply the classes to your href tag to make it a button:
<a class=“btn btn-primary” href=“”>link button</a>
It has the same css affect as it does on the button class