Skip to main content

Home/ CSS Evangelist/ Group items tagged image

Rss Feed Group items tagged

Vernon Fowler

Replacing the -9999px hack (new image replacement) - Jeffrey Zeldman Presents The Daily... - 0 views

  • My friend Scott Kellum, design director at Treesaver, has now sent me this refactored code for hiding text, which I hereby christen the Kellum Method: .hide-text { text-indent: 100%; white-space: nowrap; overflow: hidden; } Really long strings of text will never flow into the container because they always flow away from the container. Performance is dramatically improved because a 9999px box is not drawn. Noticeably so in animations on the iPad 1.
  • Scott Kellum said on 1 March 2012 at 3:41 pm: I went ahead and created a side by side site to test the performance: http://lab.pgdn.us/hidden-text-performance/ @Ethan, This is the best 43min I have ever spent learning about optimizing the performance of my CSS: http://www.youtube.com/watch?v=xuMWhto62Eo
  • Would be interesting to understand both the SEO and accessibility impacts of this approach.
  • ...4 more annotations...
  • Scott Kellum said on 2 March 2012 at 4:06 pm: After much deliberation over here: https://github.com/h5bp/html5-boilerplate/issues/1005#issuecomment-4293007 Jonathan Neal suggested a method using font: 0/0 serif; and things seem to be settling on this — .ir { font: 0/0 serif; text-shadow: none; color: transparent; }
  • While I think this is certainly and interesting approach, I have some concerns with the accessibility. In some, if not all, cases when overflow: hidden; hides the content of the element this is applied to from screen readers. In most cases where I use image replacement, I still need the text to be accessible (e.g. call to action buttons set in Gotham). See Aaron Gustafson’s A List Apart article, http://www.alistapart.com/articles/now-you-see-me/. Has anyone tested this with a wide battery of screen readers or other accessibility devices?
  • Another note on accessibility: Besides the screen reader problems – people who don’t get images will not see the text too.
  • As a few people said already, this does not solve the accessibility problem that comes with text-indent. Worse, it may send the wrong message: “this is new and cool, use this from now!”. As a leader in the industry, I think you should warn people that even if this is “better” in term of performance, it is still a bad solution. Imo, Image Replacement techniques should be evaluated against the problems they solve/address. Fwiw, I wrote something about these challenges a few years back: http://tjkdesign.com/articles/tip.asp </shameless plug>
yc c

CSS3 Border Image Experiments : Nora Brown Design - 6 views

  •  
    from article: Understanding border-image http://css-tricks.com/understanding-border-image/
my mashable

Insert Images to Your Gmail Messages - 0 views

  •  
    Finally Gmail's rich-text editor become more powerful with the addition of the new features in Gmail Labs called Insert Images. The major drawback in Gmail text editor is people can't insert in to the editor. Initially we have to attach the images and this usually displays at the bottom of the mail client as thumbnails.
my mashable

Is GIMP a Replacement Tool For Photoshop - 0 views

  •  
    The GIMP (GNU Image Manipulation Program, previously General Image Manipulation Program) is a free software, raster graphics editor used to process digital graphics and photographs. GIMP can also be used to create basic animated images in GIF format. It is often used as a replacement for Adobe Photoshop, the most widely used bitmap editor in the printing and graphics industries; however, it is not designed to be a Photoshop clone.
Frederik Van Zande

Better Image Caching with CSS * Perishable Press - 0 views

  •  
    I have written previously on the fine art of preloading images without JavaScript using only CSS. These caching techniques have evolved in terms of effectiveness and accuracy, but may be improved further to allow for greater cross-browser functionality. In this post, I share a "CSS-only" preloading method that works better under a broader set of conditions.
Joel Liu

Free Design Templates | Smashing Magazine - 0 views

  • Free design templates don’t have to be unattractive, inaccurate and boring. Some web-sites offer high quality templates for the best price you would ever get - for free. You can download Flash-based templates as well as CSS-based layouts absolutely free; furthermore, you can use them for your personal and commercial projects without any restrictions whatsoever. Still, before using some of the templates, throw a glance at the license agreements - they’re changing all the time.
  • ...3 more annotations...
  •  
    cool
Wanda Terral

Patternify | CSS Pattern Generator - 0 views

  •  
    Patternify is a simple CSS pattern generator. Its graphical web-based interface lets you draw the pattern you want, and then it generates the CSS code for you. Instead of having to launch your graphics editor and creating a 2px by 2px image, you can just build your pattern online using this. And with the base64 code, you don't even need an image file anymore: just include the code in your CSS and you're ready to rock.
anonymous

Learn how to apply shadow automatically to an image using CSS - Alex Allied - 0 views

  • Learn how to apply shadow automatically to an image using CSS
  •  
    Learn how to drop a shadow to images css
‹ Previous 21 - 40 of 157 Next › Last »
Showing 20 items per page