Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons
Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...
The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...
The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...
Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...
Consider this Sass: .comment width: 320px; height: 240px; Any textarea with the comment class will be sized 320 by 240...
Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...
CSS is a lot easier to write and read than clumsy XPath expressions. So when you need to use XPath...
Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!
If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
Some progress was made by browsers on implementing CSS filters like blur, greyscale or some other effects. You might already...
Building CSS mobile-first is the way forward, because blah blah blah progressive enhancement blah. Problem is, Internet Explorer prior...
Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
You will find this useful when creating responsive designs that work well on small screens. The attached Javascript gives a...
Say you want to vertically align a div box inside a div container. This is how you do it:
When you add a linear gradient to an element, IE9 removes all border-radius and inset box-shadows. This is...
Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }
It's not logical, so don't be too hard on yourself. You need to give it a height and...
Note that you are not allowed to embed any font in a website. You need to check the license first...
You can use this code: function scrollToLine($textarea, lineNumber) { var lineHeight = parseInt($textarea.css('line-height')); $textarea.scrollTop(lineNumber * lineHeight); }