Tag Info

New answers tagged

3

In all the simple button examples (including other examples in the animation section), the ripple effect compliments the colour of the text or icon - which should follow readability (use a colour contrast checker if in doubt). In general, this is common sense: if you have a 'dark' button requiring light text, adding light ink will be visible and consistent; ...


3

My guess is that the bubble just calculates the required margin at both sides of the word: --word-- --longerword-- What happened in this case is that, because the letters of the typeface have different widths, it looks like the bubble is staying the same size. When, in reality, it's just a coincidence. If the font were fixed-width, so each character ...



Top 50 recent answers are included