@mrjyn
April 14, 2011
CSS3 Backgrounds and Borders Tests - Aaron Gustafson
CSS3 Backgrounds and Borders Tests
(of course, this is posterous, so it won't look right, but this demo was well-hidden, so it's better than nothing)
Simple border-radius
p.test { background: #ccc; border: 15px solid #999; color #000; padding: 10px; } p.mirror-4-ways { border-radius: 25px; } p.mirror-2-ways { border-radius: 25px 50px; } p.mirror-1-way { border-radius: 25px 50px 75px; } p.no-mirror { border-radius: 25px 50px 75px 100px; }
If your browser supports it, this paragraph should have rounded corners of equal size (25px). Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
If your browser supports it, this paragraph should have rounded corners, with the top right and bottom left corners being 25px in diameter and the bottom right and top left being 50px in diameter. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
A reference rendering demonstrating border-radius
with 2-way mirroring.
If your browser supports it, this paragraph should have rounded corners, with the top right corner being 25px in diameter, the bottom right and top left being 50px in diameter, and the bottom left being 75px in diameter. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
A reference rendering demonstrating border-radius
with 1-way mirroring.
If your browser supports it, this paragraph should have rounded corners, with the top right corner being 25px in diameter, the bottom right being 50px in diameter, the bottom left being 75px in diameter, and the top left being 100px in diameter. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
A reference rendering demonstrating border-radius
with no wirroring.
Compound border-radius
p.test { background: #ccc; border: 15px solid #999; border-radius: 25px / 50px; color #000; padding: 10px; }
If your browser supports it, this paragraph should have irregularly rounded corners of equal size, with the first radius being 25px and the second being 50px in diameter. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
A reference rendering demonstrating border-radius
with compound radii.
Simple box-shadow
p.test { background: #fff; box-shadow: 5px 5px 15px 1px #000; margin: 2em auto; padding: 10px; width: 90%; }
If your browser supports it, this paragraph should have a drop shadow cast toward it’s lower left, 5px out in each direction. It should be blurred 15px and spread 1px (if supported).
A reference rendering demonstrating a simple box-shadow
.
Compound box-shadow
p.test { background: #fff; box-shadow: 5px 5px 15px 1px #000, -5px -5px 15px 1px #000; margin: 2em auto; padding: 10px; width: 90%; }
If your browser supports it, this paragraph should have two drop shadows cast: 1) a drop shadow cast toward it’s lower left, 5px out in each direction, blurred 15px, and spread 1px (if supported)); and 2) a drop shadow cast toward it’s lower left, -5px out in each direction, blurred 15px, and spread 1px (if supported).
A reference rendering demonstrating a compound box-shadow
.
eCSStender.CSS3-backgrounds-and-borders.js
Author: Aaron Gustafson
Current Version: 0.3.4
Demo: http://test.ecsstender.org/extensions/eCSStender.CSS3-backgrounds-and-borders.js/test/
This extension implements the CSS3 Backgrounds and Borders module back to IE6. Support is currently incomplete, but the following currently work:
border-radius
(if the browser has some form of native implementation, i.e. not in IE currently)- basic (e.g.
border-radius: 25px 50px 75px 100px;
) - compound (e.g.
border-radius: 25px / 50px;
)
- basic (e.g.
box-shadow
- basic (e.g.
box-shadow: 5px 5px 15px 1px #000;
) - compound (e.g.
box-shadow: 5px 5px 15px 1px #000, -5px -5px 15px 1px #000;
)
- basic (e.g.
- License: MIT
- Homepage
- Download (.zip)
- Repository: git://github.com/easy-designs/eCSStender.CSS3-backgrounds-and-borders.js.git
Copyright 2005–2010 Aaron Gustafson. All Rights Reserved. Colophon
eCSStender is licensed under the liberal MIT License.
Aaron Gustafson
Aaron Gustafson is the Founder and Principal Consultant of Easy! Designs, a web development consultancy. He is also Group Manager of the Web Standards Project (WaSP), an Invited Expert to the W3C’s Open Web Education Alliance, a speaker, and an author.
Aaron’s Lifestream
-
@AaronGustafson was glad to finally meet & get to know @emilylewis. She’s a pretty awesome lady. #mix11
Posted to twitter.com 2 Hours, 4 Minutes ago. Reply.
-
@AaronGustafson is heading to a super-secret shindig. #mix11
Posted to twitter.com 6 Hours, 57 Minutes ago. Reply.
-
@AaronGustafson had a successful talk: 25 minutes presenting, 30 minutes answering questions. Excitement for @StandardsSherpa is building…
Posted to twitter.com 7 Hours, 8 Minutes ago. Reply.
-
@AaronGustafson thanks @jenseninman, @jessica_martin1 & @LauraHelenWinn for the encouragement.
Posted to twitter.com 8 Hours, 51 Minutes ago. Reply.
-
@AaronGustafson is getting ready to talk about @StandardsSherpa in :30 in Lagoon B. #mix11
Posted to twitter.com 8 Hours, 58 Minutes ago. Reply.
-
@AaronGustafson stepped into @nickf’s session before heading to the green room. Good stuff. #mix11
Posted to twitter.com 9 Hours, 50 Minutes ago. Reply.
-
Fab.com + Instagram
Includes one of Veerle's uploads featuring the dolls we had made for her and Geert (by Dolls for Friends)…
Posted to flickr.com 10 Hours, 31 Minutes ago.
-
@AaronGustafson agrees, @kellyoxford. Celebrity and playing a savvy businessman on TV apparently trumps repeated bankruptcies and financial malfeasance.
Posted to twitter.com 11 Hours, 6 Minutes ago. Reply.
-
@AaronGustafson suggests: EPB + Chattanooga + Alcatel-Lucent = Intelligent Community http://bit.ly/eZAnxr
Posted to twitter.com 16 Hours, 34 Minutes ago. Reply.
-
Posted to flickr.com 17 Hours, 34 Minutes ago.
-
Posted to flickr.com 18 Hours, 42 Minutes ago.
-
Posted to flickr.com 18 Hours, 43 Minutes ago.
-
Room at THEhotel
Posted to flickr.com 18 Hours, 44 Minutes ago.
-
Room at THEhotel
Posted to flickr.com 18 Hours, 45 Minutes ago.
Tagged:
-
Welcome to the desert
Posted to flickr.com 19 Hours, 10 Minutes ago.
-
@AaronGustafson is looking forward to seeing you again, @jeffsand. #mix11
Posted to twitter.com 19 Hours, 17 Minutes ago. Reply.
-
@AaronGustafson hopes to hook up with you tomorrow, @jcroft.
Posted to twitter.com on 13 April 2011 at 1:22am ET. Reply.
-
@AaronGustafson Thinks that sounds like a plan, @rainypixels. /cc @stefsull @jcroft @snookca @emilylewis @allenjs @andrewdupont
Posted to twitter.com on 13 April 2011 at 12:00am ET. Reply.
-
@AaronGustafson is still recovering from @Retreats4Geeks, so staying in might be good too. Hard to resist the pull of In-N-Out though. #animalstylewithdrawl
Posted to twitter.com on 12 April 2011 at 11:59pm ET. Reply.
-
@AaronGustafson has checked in at THEhotel and thinking about dinner. Have @stefsull, @jcroft, @snookca, @emilylewis, @rainypixels, and @allenjs eaten yet?
Posted to twitter.com on 12 April 2011 at 11:50pm ET. Reply.
MORE Dogmeat »
Google Tablet Concept
- Keyboard interaction with the screen: anchored, split, attached to focus.
- Launchers as an overlay, providing touch or search as means to access web sites.
- Contextual actions triggered via dwell.
- Zooming UI for multiple tabs
- Tabs presented along the side of the screen (see Side tabs)
- Creating multiple browsers on screen using a launcher
UI Concepts
tablet_concept.mp4 Watch on Posterous
MORE Dogmeat »
Who're the 4 Millionth Person on Dogmeat Thursday April 14th, 2011
April 13, 2011
@mrjyn
@limbsandthings Achtung Detail!: via achtungdetail.com via achtungdetail.com via… http://goo.gl/fb/YtfZ2 about a day ago from Google commie bastards http://bit.ly/fcEqJw about a day ago from TypePad commie bastards: via bodytag.org MORE Dogmeat » img.c2 {background: #000000;color: #e8dce8… http://goo.gl/fb/1INwO about a day ago from Google @limbsandthings commie bastards: via bodytag.org Permalink | Leave a comment » http://goo.gl/fb/MnMn9 about a day ago from Google @mrjyn Wulffmorgenthaler - Daily strip. 20. October 2006 Weirdo Beavers http://post.ly/1tHTg #Dogmeat about a day ago from Posterous Wulffmorgenthaler - Daily strip. 20. October 2006 Weirdo Beavers: via wulffmorgenthaler.com… http://goo.gl/fb/Hv7B5 about a day ago from Google @mrjyn 'if masturbation really made you blind' 29. January 2010 - Wulffmorgenthaler http://post.ly/1tHUM #Dogmeat about a day ago from Posterous 'if masturbation really made you blind' 29. January 2010 - Wulffmorgenthaler http://bit.ly/dW91MT about a day ago from TypePad 'if masturbation really made you blind' 29. January 2010 - Wulffmorgenthaler: via… http://goo.gl/fb/lY5es about a day ago from Google 'eye contact' Wulffmorgenthaler http://bit.ly/igqYSM about a day ago from TypePad 'eye contact' Wulffmorgenthaler: via wulffmorgenthaler.com MORE Dogmeat » img.c2 {background… http://goo.gl/fb/flDJB about 19 hours ago from Google Wulffmorgenthaler - Daily strip. 20. October 2006 Weirdo Beavers http://bit.ly/dU0Pxp about 19 hours ago from TypePad @mrjyn cursory - (big in Russia) Bodytag.org http://post.ly/1tHVv #Dogmeat about 19 hours ago from Posterous cursory - (big in Russia) Bodytag.org http://bit.ly/gPdkw6 about 19 hours ago from TypePad cursory - (big in Russia) Bodytag.org: Check out this website I found at bodytag.org MORE… http://goo.gl/fb/cQ4LN about 19 hours ago from Google @limbsandthings cursory - (big in Russia) Bodytag.org: Check out this website I found at… http://goo.gl/fb/wkW1r about 19 hours ago from Google @limbsandthings Wulffmorgenthaler - Daily strip. 20. October 2006 Weirdo Beavers: via… http://goo.gl/fb/XfC4u about 19 hours ago from Google @limbsandthings 'eye contact' Wulffmorgenthaler: via wulffmorgenthaler.com Permalink | Leave… http://goo.gl/fb/GlwOE about 19 hours ago from Google @limbsandthings 'if masturbation really made you blind' 29. January 2010 - Wulffmorgenthaler… http://goo.gl/fb/hNyM7 about 19 hours ago from Google Wulffmorgenthaler - Daily strip. 20. October 2006 Weirdo Beavers: via wulffmorgenthaler.com… http://goo.gl/fb/t6xyi about 19 hours ago from Google commie bastards: via bodytag.org MORE Dogmeat » http://goo.gl/fb/CHR1G about 19 hours ago from Google 'eye contact' Wulffmorgenthaler: via wulffmorgenthaler.com MORE Dogmeat » http://goo.gl/fb/X5vnz about 19 hours ago from Google 'if masturbation really made you blind' 29. January 2010 - Wulffmorgenthaler: via… http://goo.gl/fb/f891n about 19 hours ago from Google cursory - (big in Russia) Bodytag.org: Check out this website I found at bodytag.org MORE… http://goo.gl/fb/cu3jL about 19 hours ago from Google @mrjyn Dogmeat: Four Million Views, Four Million Reasons http://post.ly/1tTbo #Dogmeat about 4 hours ago from Posterous Dogmeat: Four Million Views, Four Million Reasons http://bit.ly/f4FQR1 about 4 hours ago from TypePad Dogmeat: Four Million Views, Four Million Reasons: Dogmeat: Four Million Views, Four Million… http://goo.gl/fb/YmYY6 about 4 hours ago from Google @limbsandthings Dogmeat: Four Million Views, Four Million Reasons: Dogmeat: Four Million… http://goo.gl/fb/msIYd about 4 hours ago from Google #Dogmeat: Four Million Views, Four Million Reasons: Dogmeat: Four Million Views, Four Million… http://goo.gl/fb/N72p3 about 3 hours ago from Google @limbsandthings Charlie Sheen Winning? Mark Zuckerberg Losing?: Is Charlie Sheen losing his… http://goo.gl/fb/5jol1 about 2 hours ago from Google @mrjyn Charlie Sheen Winning? Mark Zuckerberg Losing? http://post.ly/1tV1W #Dogmeat about 2 hours ago from Posterous Charlie Sheen Winning? Mark Zuckerberg Losing? http://bit.ly/gTFdAE about 2 hours ago from TypePad Charlie Sheen Winning? Mark Zuckerberg Losing?: Is Charlie Sheen losing his 'winning' touch… http://goo.gl/fb/CM20p about 2 hours ago from Google Charlie Sheen Winning? Mark Zuckerberg Losing?: Is Charlie Sheen losing his 'winning' touch… http://goo.gl/fb/SPIWb about 2 hours ago from Google I uploaded a YouTube video -- Charlie Sheen Winning? Mark Zuckerberg Losing? http://youtu.be/fGa8rpxPtz0?a about 2 hours ago from Google I uploaded a YouTube video -- Charlie Sheen Winning? Mark Zuckerberg Losing? http://youtu.be/CQ_CujA9CTM?a about 2 hours ago from Google Charlie Sheen Winning? Mark Zuckerberg Losing?: Charlie Sheen Winning? Mark… http://goo.gl/fb/PQtZJ Guks #videos about 2 hours ago from Google Charlie Sheen Winning? Mark Zuckerberg Losing?: Charlie Sheen Winning? Mark… http://goo.gl/fb/km4Yl Guks #videos about 2 hours ago from Google |
To create a new digest, see the Tweet Digest tool on Stream Spigot.