Transition on btn class #268

Closed
clupprich opened this Issue Nov 2, 2013 · 2 comments

Comments

Projects
None yet
2 participants

You might want to change the transition on the .btn class to only affect the background-color property, else buttons look strange when loaded.

flat_ui_buttons

buttons.less would need to be changed to this:

.btn {
  border: none;
  font-size: @btn-font-size-base;
  font-weight: @btn-font-weight;
  line-height: @btn-line-height-base;
  border-radius: @border-radius-base;
  padding: 10px 15px;
  -webkit-font-smoothing: subpixel-antialiased;
  .transition(background-color .25s linear);
...
}

pytkin commented Nov 2, 2013

Hi, @clupprich. Fixed. Thanks.

pytkin closed this Nov 2, 2013

you're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment