Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

border-radius #105

Closed
ghost opened this issue Sep 14, 2014 · 7 comments
Closed

border-radius #105

ghost opened this issue Sep 14, 2014 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 14, 2014

Hi, i'm wrong waiting to mtyh process this

#element {
    border-radius : 10px;
}

and get this?

#element {
  border-top-right-radius: 10.0px;
  border-bottom-right-radius: 10.0px;
  border-top-left-radius: 10.0px;
  border-bottom-left-radius: 10.0px;
  border-radius-topright: 10.0px;
  border-radius-bottomright: 10.0px;
  border-radius-topleft: 10.0px;
  border-radius-bottomleft: 10.0px;
  -o-border-radius-topright: 10.0px;
  -o-border-radius-bottomright: 10.0px;
  -o-border-radius-topleft: 10.0px;
  -o-border-radius-bottomleft: 10.0px;
  -ms-border-radius-topright: 10.0px;
  -ms-border-radius-bottomright: 10.0px;
  -ms-border-radius-topleft: 10.0px;
  -ms-border-radius-bottomleft: 10.0px;
  -moz-border-radius-topright: 10.0px;
  -moz-border-radius-bottomright: 10.0px;
  -moz-border-radius-topleft: 10.0px;
  -moz-border-radius-bottomleft: 10.0px;
  -webkit-border-radius-topright: 10.0px;
  -webkit-border-radius-bottomright: 10.0px;
  -webkit-border-radius-topleft: 10.0px;
  -webkit-border-radius-bottomletf: 10.0px;
}

Border radius property no longer need a especific vendo prefix?

@ai
Copy link
Contributor

ai commented Sep 14, 2014

border-radius doesn’t require vendor prefies for a few years! ;)

@ai
Copy link
Contributor

ai commented Sep 14, 2014

BTW, do not write prefixes after unprefixed. Because browsers sometimes fix property in unprefixed form (for example, -webkit-box-shadow and box-shadow works different) and browser will use only last property (so last property must be unprefixed).

Wrong:

a {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

Good:

a {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@ghost
Copy link
Author

ghost commented Sep 15, 2014

ok! thanks :)

@MoOx
Copy link
Contributor

MoOx commented Sep 15, 2014

This seems not related to myth. Your example on this playground doesn't give your result http://jonathankingston.github.io/mythhub/
Are you using other tools after or before the process ?

@ghost ghost closed this as completed Sep 15, 2014
@MoOx
Copy link
Contributor

MoOx commented Sep 15, 2014

?

@ai
Copy link
Contributor

ai commented Sep 15, 2014

@MoOx user didn't show Myth output. He show only expected output. He ask, why Myth doesn't do anything with border-radius (so input is equal to output).

@MoOx
Copy link
Contributor

MoOx commented Sep 15, 2014

oh lol. Weird. Thanks.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants