|
易用性检查
整理和优化
字体
表单
布局
酷站
帮助向导 / Hacks / 学习资源
小贴士
- CSS-Based Forms: Modern Solutions样式表定义的各种漂亮注册与登录表单的收集。
- Hot Dates with CSS 教你怎样使blog的日期看起来像日历页。
- A nice demo of experimenting with CSS-only solution to imagemap with popups using unordered list.
- Clagnut shows you how to have Line breaks in tooltips by using the carriage return entity . How utterly simple!
- Styling check boxes and radio buttons only with CSS uses 100% CSS solution (via attribute value selector and positioned background images) to serve up customized form elements. It’s semantically correct and degrades well for browsers that doesn’t support this method (IE), but is it also accessible?
- Stuart Robertson’s CSS text shadow technique seems like one of the easiest-to-implement techniques I’ve come across. It uses :before pseudo element and supports both Safari and Firefox browsers.
- From “holy crap why didn’t I think of that file… Airbag has a simple but great idea of using a ruler background images in CSS to check DIV sizing during development.
- CSS Colors: Take Control Using PHP is a wonderful tutorial from Barely Fitz on how to use PHP variables to represent colors in your CSS which you can then manipulate — quickly changing all the colors from a single source, generating new colors via algorythm, etc.
- Web Graphics has a CSS3 demo on using :target pseudo class to style anchor link targets.
- Dynamic Drive, a long time favorite DHTML code snippet depot of mine, has started a new spin-off: CSS Drive.
- A More Accessible Map — a new tutorial on ALA shows how to create an accessible map with tooltips via CSS and JS.
- Styling horizontal rules with CSS — “…Don’t waste hours trying to style horizontal rules consistently across different browsers. Instead wrap your HR in a DIV, set the HR to display none and style the surrounding DIV instead.. Now why the heck didn’t I think of that?
- CSS image preloader technique from maratz.com — using background image CSS property on images to serve as image place holders.
- stefanhayden.com shows a neat (and easy) way to make sure the client fetches new CSS with HTML update: just add a variable at the end of the CSS with each update.
- Wrapping text around curves via CSS if you don’t mind the markup cruft.
- codylindley.com’s Pushpin Header Technique “…is a CSS solution for creating a stationary header out of the thead of a table while the table’s tbody remains scrollable
- hovebox image gallery via sonspring. It’s sort of like mini-lightbox that enlarges the thumbnails on hover. Very nice.
- Beautifully Numbered Lists looks nice except that it’s not really an ordered list. Instead it used definition lists inside the ordered list for presentation — which means true standardistas might object.
- In what could only be catagorized under Uber-Anal department, ollicle.com how to alter CSS line-height based on paragraph width via javascript for optimal readbility.
- From “I didn’t know that file… wg tells us that using − instead of a dash character prevents some browser from wrapping the words connected by it.
- Eric Meyer, the man with CSS skillz that payz da billz, reveals something I’ve never heard of before: line-height property can use unitless values! The differences between united vs. unitless declarations are well described in his article but I can’t believe that I had it all wrong. I’ve been telling everyone that “You must declare unit for ANY measurement values unless it’s zero.
- loudandlonely has an interesting article on how to obscure your email address via CSS by using some clever a:link:before and a:link:after pseudo-elements.
- digital-web has a good run down on things to consider when using CSS typography.
- 456bereastreet takes a first crack at explaining CSS3 selectors
- Another good footer at the bottom using only CSS demo.
- Pup’s Box Flow Hack shows you how to allow even block items to flow around floating boxes.
- Simple(r) CSS Image Switcher — Unlike the orginal CSS image switcher, this version doesn’t use nested unordered lists. Instead, it uses just one unordered list, with the link image placed inside the anchor.
- Another very nice tutorial from 24ways. This time it’s Curly Quotes Without Images, a technique popular in citing blockquotes with enlarged quotation marks in the beginning and at the end of the quote. But without using background images.
- FACE is an interesting javascript-powered / CSS-controlled page animation technique.
- Defining CSS constants using PHP is a good article on using PHP to allow constants (’variables’) in CSS. For instance you can use this technique to define a repetitive color in CSS as a variable. That way you only need to declare it once and only change that one instance should you want to change that color. Very handy.
- 24ways has a good article on using z-index attribute.
- apples-to-oranges.com has a fantastic tutorial on how to create great looking bar graphs with CSS
- Image map for detailed information showcases use of CSS to provide an image with mouse-over-section for detailed notes.
- From the “How the heck did I miss this department: cssQuery a powerful cross-browser JavaScript function that enables querying of a DOM document using CSS selectors. All CSS1 and CSS2 selectors are allowed plus quite a few CSS3 selectors.
- Bulletproof logos via simplebits
- Css Color Chart
- Check marking visited links
- CSS Gradients Demo — creating gradient background effect in CSS using server-side constants technique developed bu Shaun Inman.
- Creating s star rating using CSS
- Image Placement Technique — Yes. Not “replacement but “placement.
- FooterStick — how to force the footer of a webpage to stick to the bottom of the viewport.
- Shaun Inman’s CSS-SSV — using PHP variables in CSS.
- CSS scroll box fade using alpha-channel PNG
- Styling visited links with :after pseudo class
- Footnotes with CSS and JS
- Restaurant menu layout in CSS via web-graphics.com
- CSS scale image — using em values to scale the images in CSS. via bigbaer.com
- Slantastic — create irregular shaped boxes.
- yDSF - Robust CSS Drop Shadows
- CSS sliding photo gallery — an interesting way to present equal-sized images on mouse hover
- alsacreations.com — Nice collection of CSS tutorials that covers most of the basics.
- Using CSS selectors to apply Javascript functionality — 'click here to delete’ demo
- Flickr-style image map with only CSS
- Web Color Schemes — via returnofdesign.com
- Making the jump to tableless design — Andy Budd’s presentation at @media 2005.
- CSS Help Pile
- Simple Clearing of Floats — various methods of clearing floats.
- Visited links styling — via webdesign.maratz.com.
- mandarindesign’s text tricks.
- Sweet collection of CSS how-tos — via maratz.com
- HoverHelp — DHTML/CSS tool tips on hover.
- How-to: Giving To Hiram? masthead — Nice masthead design in CSS. via cameronmoll.com
- :focus and :not
9rules.com讨论了两个很少见的CSS伪类。
- welstyled.com — CSS文章和小贴士包括min-height hack, “the underscore hack, “single line vertical centering, “photocards等等
- Couloir Slideshow Script — 错!这不是flash。这是纯javascript/CSS编写的产品。
- WASP list some international sites that are inspired by CSS Zen Garden Project
- 用CSS的border属性来创建斜边
相关文章
发表评论
发送评论时内容自动复制到剪切板
|
|
|