Search code examples
csssassoverflowstylesheet

What is *overflow in CSS?


I clone a repository and see bellow CSS class

button,
input {
  *overflow: visible;
  line-height: normal;
}

I've never seen * prefix before overflow.what is *overflow exactly and what is the difference between overflow and *overflow?


Solution

  • It could be a typo or as I remember might be for browser compatible issues, for older version of IE browser hacks: "Asterisk hack" for IE 5,6,7.

    This is used to be our life before the modern browser era, using hacks to fix browser compatible issues.