background preloader

Web development

Facebook Twitter

25 "Time-saving" Generators for Designers - HTML. Untitled. Graphing Toolkit Rickshaw provides the elements you need to create interactive graphs: renderers, legends, hovers, range selectors, etc. You put the pieces together. See Demo → Built on d3.js It's all based on d3 underneath, so graphs are drawn with standard SVG and styled with CSS. Open Source Rickshaw is free and open source, available under the MIT license.

Getting Started Here's a minimal but complete working example. Area Graphs Lines Bars Scatterplot Interactive Legend Add a basic legend: Add functionality to toggle series' visibility on and off: Highlight each series on hover within the legend: Add drag-and-drop functionality to re-order the stack (requires jQueryUI): Interactive Hover Details Show the series value and formatted date and time on hover: Specify formatting callbacks to customize output: See the custom formatter and subclass examples for more.

Annotations Add toggleable annotations: annotator.add(timestamp, message);annotator.update(); Range Slider Graphs & Data via AJAX / JSONP Tutorial. Dochub | Instant Documentation Search. CSS Reference. Style rule syntax style-rule ::= selectors-list { properties-list } Where: selectors-list ::= selector[:pseudo-class] [::pseudo-element] [, selectors-list] properties-list ::= [property : value] [; properties-list] See the index of selectors, pseudo-classes, and pseudo-elements below. Style rule examples css For a beginner-level introduction to the syntax of selectors, see our guide on CSS Selectors.

At-rule syntax As the structure of at-rules varies widely, please see At-rule to find the syntax of the specific one you want. The following are the various selectors, which allow styles to be conditional based on various features of elements within the DOM. Basic selectors Basic selectors are fundamental selectors; these are the most basic selectors that are frequently combined to create other, more complex selectors.

Combinators Next-sibling combinator A + B Subsequent-sibling combinator A ~ B Child combinator A > B Descendant combinator A B Column combinator A || B Experimental Pseudo Pseudo classes : Home - Wolf's Little Store. HTML5 Semantics and Good Coding Practices — Aniket Pant. Getting Started - Google Web Fonts API - Google Code. This guide explains how to use the Google Fonts API to add fonts to your web pages. You don't need to do any programming; all you have to do is add a special stylesheet link to your HTML document, then refer to the font in a CSS style.

A quick example Here's an example. Copy and paste the following HTML into a file: Then open the file in a modern web browser. Making the Web Beautiful! That sentence is ordinary text, so you can change how it looks by using CSS. You should now see a drop shadow under the text: And that's only the beginning of what you can do with the Fonts API and CSS. Overview You can start using the Google Fonts API in just two steps: Add a stylesheet link to request the desired web font(s): Style an element with the requested web font, either in a stylesheet: or with an inline style on the element itself: For a list of fonts you can use, see Google Fonts. Specifying font families and styles in a stylesheet URL For example, to request the Inconsolata font: For example: Poor Man's Scalability - The Art Of Delightful Software.

Last week, Famigo was featured in both TechCrunch and VentureBeat. I knew about these in advance, and I also knew that while both would drive a lot of traffic, the traffic wouldn't stick around for long. We needed to scale up, but we didn't need to scale up for long. Add to that the fact that we wanted to scale up temporarily without spending any money and you have a fun little optimization problem! Starting Point Before I made any changes, I did a simple load test just to see what we were starting with.

I installed httperf, and then directed 20 GETs a second for a minute to the index of our site. The good news is that I didn't kill production entirely. I didn't get too upset here; I expected us to do poorly. On a side note, I had absolutely no idea how much traffic to expect from our PR blitz. True App Performance In my initial load test with httperf, I noticed something interesting: the response time to the initial batch of GETs weren't even that good. Page Speed Online.