Mixin: inset-border. Compass-worthy?

24 views
Skip to first unread message

Lorin Tackett

unread,
Mar 30, 2011, 12:53:31 PM3/30/11
to compas...@googlegroups.com
This is such a common pattern for me these days that I generalized it to a mixin. Since I know I'm not the only one who uses this, I'm wondering, should this go upstream into Compass?

Screenshot: http://d.pr/tuxT

I think it's OK, but it could be improved upon. I wrote it for a site using stable, not --pre, so it would be using single-box-shadow on --pre, I think.

Brandon, do you have a similar mixin in your toolbelt? I see this all over the place on the beta compass site.

Thoughts?

-Lorin

Eric Meyer

unread,
Mar 31, 2011, 12:37:26 AM3/31/11
to compas...@googlegroups.com
Looks like something I might use with a little cleanup. Proper box-shadow approach in 0.11 is without commas, and I think the defaults and argument order could be simplified. I'd start by creating and sharing a simple pattern/extension for it, make some tweaks and see where it goes.
Reply all
Reply to author
Forward
0 new messages