Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triangles Are Broken #15

Closed
Snugug opened this issue Jan 7, 2013 · 1 comment
Closed

Triangles Are Broken #15

Snugug opened this issue Jan 7, 2013 · 1 comment
Assignees

Comments

@Snugug
Copy link
Member

Snugug commented Jan 7, 2013

Input Sass:

@include triangle(red, 30px, 270);

Output CSS

display: block;
width: 0;
height: 0;
border: 0 solid transparent;
border-bottom-color: red;
border-width: 0 135 30px 135;

The border-width property is wrong, and changing the 135s to 135px does not produce the correct triangle,

@ghost ghost assigned scottkellum Jan 7, 2013
@scottkellum
Copy link
Member

270 is not a compatible measurement for width.

triangle($color, $height, $width, $angle)

scottkellum added a commit that referenced this issue Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants