Skip to content

responsive UI concept for categorized and evaluated textual information.

Notifications You must be signed in to change notification settings

QuteBits/stackin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stackin (responsive UI concept)

An idea I've had when I tried to come up with some responsive, simple, appealing and compact way to show parsed textual information. The story behind it is here on my blog.

Live Demo:

Current HN Top 100 stories - http://jsfiddle.net/hp499ejL/

Screenshot:

Alt text

Concept:

Basiacally it's just CSS formatting of stacked divs:

  • text stretches it's div - so there is very little space wasted, which makes the design very compact,
  • make padding big enough to be comfortable using it on movile devices (with no zoom/double-tap needed),
  • make margin big enough so that you won't mistakingly click on a wrong div (important for mobile),
  • depict up to two numerical values for each div - using order of the divs and/or their color. Paint divs (background-color) according to some assigned numerical value (in the case of this example, background color represents total count of comments assigned to the story. The color is rgb(cappedScore,50,50) where cappedScore is 255 if the score is bigger than 255).

Hacker News Example

This repository contains an example of this idea on current top 100 Hacker News posts fed through their API. Just download this stuff and open index.html in your browser.

Contact:

@qutebits or qute.bits (gmail)

About

responsive UI concept for categorized and evaluated textual information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published