Search code examples
htmlzurb-foundation

change foundation button into a link


I currently have a button from foundation which I want to add a link to but every time that I do this is either removes the button or doesn't link! Obviously I would quite like both to work! Can someone tell me how I have to add the link to the code for the button below! I know this might sound very elementary but still trying to get used to foundation!

<div class="clear10"></div>
            <button class="rounded shadow">Get Started</button>
        </div>

Solution

  • this should do

    <link href="http://cdn.jsdelivr.net/foundation/5.4.3/css/foundation.css" rel="stylesheet"/>
    
    
         <div class="clear10">
            <a href="your link" class="button rounded shadow">Get Started</a>
         </div>