incuna / incuna-sass

Incuna's Sass Library
MIT License
2 stars 2 forks source link

Add CSS triangle mixin #71

Closed pandalion closed 8 years ago

pandalion commented 8 years ago

@incuna/frontend please review. I realised we are always having to create triangles, so made this to make it easier. It has quite a lot of arguments to make it fairly flexible, but hopefully the comments make it clear enough how to use - let me know what you think!

hippogriffic commented 8 years ago

looks cool :panda_face:

hippogriffic commented 8 years ago

@pandalion are you happy with this now?

pandalion commented 8 years ago

@hippogriffic I've updated the order. I think I'm going to stick with the transform 50% for now as it seems to work well, we could update it in future if somebody thinks working out the pixel value would be better.

hippogriffic commented 8 years ago

:+1: