Semantic-ui: What is the best way to implement a tertiary button style ?

Created on 28 Feb 2018  路  4Comments  路  Source: Semantic-Org/Semantic-UI

I'd like to set button with transparent background as I'd like to have some sort of tertiary button class

1_cieq9mpfpfaxp62pte2fbw

Can't find anything about it on https://semantic-ui.com/elements/button.html

Thanx for your help

Enhancement

Most helpful comment

Would love to see this merged in to master! I have a definite need for it. Thanks!

All 4 comments

I was wondering this too. Came up with a quick sass override to achieve this (restores the border / background on hover). Add the class 'tertiary' to button (works well with 'basic' too)

.ui.button {
  &.tertiary {
    &:not(:hover) {
      box-shadow: none !important;
      background: none !important;
    }
  }
}

@smknstd Hey, I made a PR. You check out some demos there, I think it's what you need.

Would love to see this merged in to master! I have a definite need for it. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davialexandre picture davialexandre  路  3Comments

kntmrkm picture kntmrkm  路  3Comments

Morrolan picture Morrolan  路  3Comments

rdzidziguri picture rdzidziguri  路  3Comments

arj-196 picture arj-196  路  3Comments