Recently a friend asked me how to make a gradient border on a button. I really am not a fan of gradients, but some clients love that crap.
See the Pen Button with Gradient Border by Felipe Nunes (@willpower) on CodePen.
He asked me to make a SASS Mixin too, but if you change the $color_base to other color value, I think it works 😛 One of the wonders of SASS.
In an internal company work, some time ago, I saw a project that had a JS that took the placeholder’s input showed with other format, with animation. If your browser supported the placeholder, he used the placeholder, if not, with js, made it work.
I decided to redo, using the same idea, only without the placeholder, using only the label. Continue reading