Skip to main content

Home/ CSS Evangelist/ Group items matching "i" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
Vernon Fowler

Replacing the -9999px hack (new image replacement) - Jeffrey Zeldman Presents The Daily Report - 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

Blog | Graphicpeel - iOS icons Made in Pure CSS - 5 views

  •  
    The following demo was made using a variety of CSS techniques. Rounded corners, shadows, gradients, rgba, pseudo-elements, and transforms are just some of them. A lot of these were generated by helpful tools, such as westciv's tools and Border Radius. By combining these techniques, you can create rich graphics with just a few lines of code. Here are a few examples. in the contacts icon, i used 5 different shapes for the silhouette icon. The head is a rectangle with rounded corners, followed by another rectangle for the neck and a distorted semi-circle for the body. in order to get the curve of the shoulders to the neck, i placed two circles on top of the shapes. The weather icon has several rays of light shooting from behind the sun. Each one of these rays is actually a long rectangle with a gradient that fades to transparent on either end. i used -webkit-transform:rotate to rotate each rectangle to a different angle. The same effect was used for the iTunes icon. To get the cloud icon on the iDisk icon, i used two circles layered on top of each other, above a rounded rectangle. The larger circle has a gradient that cuts off just before the rectangle.
my mashable

Pixelpipe : Upload & Share Picture Directly from Browser to Social Web - 0 views

  •  
    I usually had a bIg problem on handlIng more socIal medIa websIte account. I thInk most of the users come across the same problem. Recently I had a chance to hear about PIxelpIpe. On the very fIrst look I really amazed about the features. InItIally thIs sIte used to post your dIgItal pIctures, vIdeos, and audIo fIles to a growIng number of dIfferent servIces wIth only a few clIcks. ThIs sIte seems to be sImIlar as pIng.fm, whIch allows post to text based messages.
yc c

Pure CSS Twitter Fail Whale - Subcide - 5 views

  •  
    Developers continue to do crazy things to show us what can be done with CSS3. The latest is a fully animated Twitter fail whale by Steve Dennis: The idea for this came to me this morning after being greeted first thing this morning by another Twitter outage. i'd been looking for something to stretch my CSS muscles on, and the Fail Whale seemed perfect. Also i think the animation only adds to his (or her?) charm. How was this made? The short answer is very painfully, by hand, using trial and error. Curves are done using various uneven border-radius properties, stranger angles (such as the strings) are masked using containers with overflow: hidden; set on them. i hope someone else gets a bit of enjoyment out of my wasted Sunday. it was a fun experiment that i don't plan on repeating any time soon. Take a look at the source to see the mass of code such as: PLAiN TEXTCSS:@-webkit-keyframes flutter1 {  0%   { -webkit-transform:rotate(0deg) }  50%  { -webkit-transform:rotate(-25deg) }  100% { -webkit-transform:rotate(0deg) }}.right .wing {  background: transparent !important;  z-index: 22 !important;  width: 15px;  height: 18px;  bottom: 4px;  left: 8px;  -webkit-animation: 'flutter1' 0.1s linear;  -webkit-animation-iteration-count: infinite;} 
Frederik Van Zande

The Big Table Problem | 8164 - 0 views

  •  
    My friend/ex-coworker Sam the Wonder Boy used to send me late night AiM messages comprised of only three letters, "M.F.R." This would then send chills up my spine, and i'd curl up on the floor in fetal position and weep nonstop. OK, i'm exaggerating a quite bit, and Sam doesn't do that anymore. "M.F.R." stands for "Monthly Forecast Report." it was one of the many modules of a huge intranet web application we worked on years ago. As the name implies, it was a report. Before arriving to the actual report screen, the user could select some criteria such as date range, products, etc. Depending on the selection, the report can have up to sixty columns and thousands of rows. it was quite a challenge both on the backend and frontend. i initially created it using server side Excel APi and dumped it to the frontend as an excel sheet. in version 2 i made it as an HTML table with the Excel export option. in version 3 i ditched HTML and went for Crystal Report, in version 3.5 it became Active Report. in version 4 we rewrote the whole application as a .NET client app, with the report section being Excel again. in version 5, well there wasn't a version 5. The whole project got outsourced to india and the team was disbanded. But that's a blog for another day.
my mashable

HOW TO: Live inside Twitter and Still Stay Productive - 0 views

  •  
    It's an addIctIve lIttle habIt, that TwItter. But what If there were ways for you to stIll keep your ugly tweetIng habIt whIle stayIng productIve at the same tIme? SInce I can't fully support the total Indulgence In the tool that has the tech-world (and beyond) glued to theIr favorIte TwItter clIent, I thought I would share a few very useful ways to make the servIce much more productIve whIle you're lIvIng InsIde of It.
Frederik Van Zande

sIFR lIte - 0 views

  •  
    once upon a time some really good web developers created siFR. Their goal was to seamlessly convert HTML headlines into nice fonts. Well, these developers did a great job getting it to work nicely. Looking at their code, i decided i would create a "lite" version of siFR using a more object-oriented approach. siFR Lite is a bit easier to read, and more intuitive to use. The only drawbacks are that it is currently unproven on a large scale in the real world. This library is of course open-source, so i welcome you to submit any improvements, suggestions, or bug reports using my contact form.
Mike More

Shrinking that Fat Delicious Tagometer Badge! - 2 views

  •  
    I needed to use the tall DelIcIous save button, but I found that It wasn't tall at all.. It was short & fat :) So, I had to shrInk It a lIttle by hIdIng some parts
mikhail-miguel

Unmatchedstyle - 0 views

  • Dallas Logistics Hub | 7.7 inkoherence | 7.1 Justin Shattuck | 7.3 nonstep radio | 6.7 Tweak! | 6.4 snagt | 6.7 More Gallery Entries »  
yc c

CSS3 Playground by Mike Plate - 7 views

shared by yc c on 11 Aug 10 - Cached
  •  
    The CSS3 Playground is a web application for experimenting with some new css3 capabilities. Primarily those than conform to the progressive enhancement philosophy, which means that the styles can be used on all sites without severely changing/limiting the experience on browsers that does not support them (=internet Explorer 8.0 and older). But there are also styles that may need better replacements on internet Explorer such as rotation, and i hope i will have the time to add more in the future.
my mashable

Twitter Professors: 18 People to Follow for a Real Time Education - 0 views

  •  
    Never before in history has it been easier to glean from the knowledge of others who will give it away to you for free. it's equivalent to getting higher education. i'm talking about Masters level stuff. And it's all available right there on Twitter. i call the people i follow who contribute above and beyond the basic answer to "what are you doing?" my professors of Twitter.
helloe

PingMag - The Tokyo-based magazine about "Design and Making Things" » Archive » 5 Steps to CSS Heaven - 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

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.
Jungle Jar

JungleJar - CSS Authoring For Quick indexing - 0 views

  •  
    In thIs artIcle I'm goIng to show you varIous ways that I myself have wrItten my CSS fIles wIth an emphasIs on some sort of order. ThIs Is my evolutIon of CSS authorIng, If you wIll. I'll also be coInIng phrases as I go along to gIve some sort of personalIty to the aggregatIon of code. Maybe they wIll catch on..
anonymous

LATITUDE CS Battery | Dell LATITUDE CS Battery - 0 views

    • anonymous
       
      A Dell 7012p battery for Dell latitude cs laptop battery in here.There are many discount Dell inspiron battery,latitude battery for Dell laptop. i think i should see it carefully.Maybe i will find the battery that i want.
my mashable

Do Magic With Special ALT Characters - 0 views

  •  
    ALT key, the key on a computer keyboard used to change the function other keys. i never thought of these wonders can be happen or done use the ALT keys. it's my pleasure to show what i read few min back about Special ALT Characters
Gary Edwards

The CSS Box Model | Chris Coyier CSS Tricks - 0 views

  •  
    Chris Coyier discusses the basics of the CSS Box Model: "every element in web design is a rectangular box. This was my ah-ha moment that helped me really start to understand CSS-based web design and accomplish the layouts i wanted to accomplish. We've talked about the positioning of these boxes a bit, and about their behavior." "What we haven't talked about much is the box itself. How is the size of the box calculated exactly? "
Alexis Sgavel

Better Semantics with CSS Combinators & Selectors » HTML & CSS, Layout » Design Festival - 0 views

  •  
    I'm goIng to begIn wIth a provocatIve claIm: I belIeve CSS Is one of the most dIffIcult-​​to-​​master computer languages we have. It doesn't have a complex syntax and you certaInly don't need a doctorate In IT to understand It. However, It's one of the only popular languages that Isn't "logIcal" - and I mean that In the most lIteral sense.
Andrea Micheloni

Smart Columns w/ CSS & jQuery - 9 views

  •  
    As I observe other lIquId based websItes, I see two commonly used technIques on dIsplayIng columns, the fIxed columns and the lIquId columns. There are
1 - 20 of 92 Next › Last »
Showing 20 items per page