Skip to main content

Home/ CSS Evangelist/ Group items tagged when

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>
shalani mujer

PC Tech Support Saved the Day - 1 views

I am an owner of a small business office in Lancaster, California. I specialize in SEO, providing services to several people, most of them are in my own locality too. However, there was a day when ...

PC tech support

started by shalani mujer on 10 Nov 11 no follow-up yet
spymek soft

Find Around Me - 0 views

  •  
    Find the places around you that you need the most and usually search for(when you are not aware of the area) at the tip of your finger. May it be ATM or gas stations or beauty sallons, you will get the list of these in few seconds. Also you will get the route map from your current location to destination. Simple and Useful app.
clariene Austria

Don't Just Get A Website… Get Discovered! - 2 views

If your website is not being listed on search engines, then you're missing out on a lot of business. Google has already overtaken yellow pages when it comes for searching for local business provide...

started by clariene Austria on 15 Jun 12 no follow-up yet
Vernon Fowler

Learning To Use The :before And :after Pseudo-Elements In CSS | Smashing Coding - 0 views

  • The content that’s injected will be child content in relation to the targeted element
  • First, you can include a URL that points to an image, just as you would do when including a background image in the CSS
tech vedic

How to change drive letters--even when the letter you want isn't available - 0 views

  •  
    For changing the drive letters, you need to follow certain steps. Let's go through this tutorial.
tech vedic

Regain your PC's administrator rights, even if you don't have the password - 0 views

  •  
    Forgot the password of your Windows PC administrator level account? This hampers your work a lot. This tutorial can give access to it.
Vernon Fowler

Sass Style Guide | CSS-Tricks - 0 views

  • List @extend(s) First
  • List "Regular" Styles Next
  • List @include(s) Next
  • ...9 more annotations...
  • All Vendor Prefixes Use @mixins
  • Global and Section-Specific Sass Files Are just Table of Contents In other words, no styles directly in them. Force yourself to keep all styles organized into component parts.
  • If you find yourself using a number other than 0 or 100% over and over, it likely deserves a variable.
  • List Vendor/Global Dependancies First, Then Author Dependancies, Then Patterns, Then Parts
  • In Deployment, Compile Compressed
  • Comments get stripped when compiling to compressed code, so there is no cost.
  • Partials are named _partial.scss
  • Variablize All Colors Except perhaps white and black.
  • In your global stylesheet, @import a _shame.scss file last.
Jonathan Mike

Are fluid websites worth making anymore? - 0 views

  •  
    A liquid layout will move in and out when you resize your browser window. But there are so many opinions about it.
Perry Branch

Mike Davidson - sIFR - 0 views

  • Proper use and best practices sIFR is a powerful tool. So powerful, in fact, that you can completely ruin a web page with it if you get overzealous and don’t exercise restraint.
  • sIFR is for headlines, pull quotes, and other small swaths of text
  • type which accents the rest of the page. Body copy should remain browser text.
  •  
    Optimized dynamic generation of Flash movies bound using javascript to provide rich Font experience regardless of the client. Degrades gracefully. Looks interesting when you just HAVE to have that PERFECT font.

    Note that it is NOT intended for full paragraphs or any type of extended passages. Serves a similar function as Text Images.

helloe

PingMag - The Tokyo-based magazine about "Design and Making Things" » Archive... - 7 views

  • Writing CSS is very much like having sex. Not everyone does it the same way and there is no particular “right” way to do it. I guess for me the similarities actually end there, seeing as writing CSS is something I do every day whereas having sex is…anyway I digress. The W3C have set the standards but beyond this, writing CSS is down to an individual’s preferences. Here are 5 little tips and ideas I’ve adopted in the last 6 months that you can use to make your CSS more streamlined, maintainable and easy to read. Written by Jon Disclaimer: The CSS example files are exactly that. They are not meant to be fully functional CSS documents. Class names in the CSS files are named merely so that you may visualise the document in your head (because there is no accompanying html), not because I condone the naming convention in them.
  • 1) Make a table of contents At the top of your CSS document, write out a table of contents. For example, you could outline the different areas that your CSS document is styling (header, main, footer etc). Then, use a large, obvious section break to separate the areas. Not only does this make your CSS look neater, but when it comes to making quick adjustments to certain areas of your website at a later date, finding the corresponding area in your CSS will be much easier. View Example File 1
  • 3) Isolate single properties that you are likely to reuse a lot If you find yourself using a single property a lot, isolate it to save yourself repeating it over and over again and also enabling you to change the display of all parts of the site that use it. View Example File 3
Frederik Van Zande

When can I use... - 0 views

  •  
    Compatibility tables for features in HTML5, CSS3, SVG and other upcoming web technologies
anonymous

External Batteries for many brand laptop battery and cell phone battery - 0 views

    • anonymous
       
      A cool battery will be appeared at once,i remarked it when it can be bought.In this case,i won't find it diffculty.The battery suited so many brand,laptop batteries and cell phone batteries,it is very cool,i should tell the more friends.
yc c

tingelets - Bookmarklets for Web Developers - 0 views

shared by yc c on 01 Jun 08 - Cached
  •  
    tingelets are a set of bookmarklets that you can place in your browsers bookmark bar. When clicked, they highlight a certain tag or set of tags in a specific color or background tile. They are very handy for quickly looking at web layouts in different browsers. You can either highlight tags directly or type in a tag, id or class name to highlight the matching element(s).
Jason Bao

Five simple steps to better typography : Journal : Mark Boulton - 0 views

  • One point = 1/72 of an inch One pica = 12 points One em = The distance horizontally equal to the type size, in points, you are using. Eg. 1em of 12pt type is 12pt. (Thanks to Joe for correcting me on this.)
  • A general good rule of thumb is 2-3 alphabets in length, or 52-78 characters (including spaces).
    • Jason Bao
       
      in one line
  • Your leading should increase proportionally to your Measure. Small Measure, less leading. Wide Measure, more leading.
  • ...1 more annotation...
  • When reversing colour out, eg white text on black, make sure you increase the leading, tracking and decrease your font-weight. This applies to all widths of Measure.
    • Jason Bao
       
      深色背景在视觉上拥有更大的对比度,更窄的行距。
offerl

CSS Shorthand Guide - 0 views

  • Backgrounds can be tricky. Nevertheless, effective when condensed correctly. The syntax for declaring the background shorthand values are as follows:
Robin Dale

Steps to Schedule a Reboot for your Linux Server - 1 views

  •  
    Rebooting is one of the important task to be performed once in a month in order to install updates for your kernel and to increase the performance of your active dedicated server. The reboot of server is essential everytime when you install any updates or patch your kernel.
shayne mosley

Getting Used to Help and Support - 1 views

I have never been used to getting help and support with all my problems. But when it comes to computer problems, I am glad Computer Tech Help And Support is helping me out. Whenever my PC is in tr...

help and support

started by shayne mosley on 07 Jun 11 no follow-up yet
samantha armstrong

FixComputerpProblemsSite Surely Knows How to Fix Computer Problems! - 1 views

I was having problems with my laptop before. Good thing FixComputerpProblemsSite helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can eas...

fix computer problems tools design css webdesign online

started by samantha armstrong on 07 Jun 11 no follow-up yet
john sega

Online Threats and Dangers - 2 views

I downloaded an audio file from an unpopular website, when I opened it my computer crashed and since then, I have troubles turning it on because it would no longer display the correct desktop setti...

Desktop Computer Support

started by john sega on 07 Jun 11 no follow-up yet
« First ‹ Previous 61 - 80 of 107 Next › Last »
Showing 20 items per page