Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Link design like a Button"

.button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
}

<a href="#" class="button">Example</a>
Comment

How to create an HTML button that acts like a link

<!-- VIA HTML -->

<form action="https://google.com">
    <input type="submit" value="Go to Google" />
</form>

<!-- VIA CSS -->

<a href="https://google.com" class="button">Go to Google</a>
a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
}


<!-- VIA JAVASCRIPT -->

<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Comment

button looks like a link

button.link {
  display: inline-block;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 0;
  padding: 0;
  color: #00f;
  text-decoration: underline;
  font: inherit;
}
Comment

how to make a button like a link

button {
  background: none!important;
  border: none;
  padding: 0!important;
  /*optional*/
  font-family: arial, sans-serif;
  /*input has OS specific font-family*/
  color: #069;
  text-decoration: underline;
  cursor: pointer;
}
Comment

PREVIOUS NEXT
Code Example
Css :: woocommerce align add to cart buttons css 
Css :: space-evenly vs space-around 
Css :: difference between private key and private key ssh 
Css :: create a scrapy shell 
Css :: html table scrollable body fixed header 
Css :: inset boxshadow 
Css :: css list items next to each other 
Css :: change svg color css 
Css :: table data max width 
Css :: calendar api 
Css :: css percentrage minus px 
Css :: css text highlight 
Css :: collapse border css 
Css :: center div with flexbox 
Css :: how to center a div with position absolute 
Css :: webkit-line-clamp: 2; 
Css :: horizontal scroll css images 
Css :: text dont skip next line css 
Css :: CSS adding background image from file 
Css :: css font families 
Css :: css comments 
Css :: textarea scale to content 
Css :: aligne center css 
Css :: css text shadow 
Css :: css border-bottom only length of text 
Css :: css to increase font size 
Css :: what is descendant selector 
Css :: how to put something on layers css 
Css :: round image css 
Css :: spinner in html css react 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =