background preloader



Beautiful Buttons for Twitter Bootstrappers This is an extension to the Twitter Bootstrap framework. It makes creating pretty buttons easy. (Send improvements to @charliepark.) First, monkey with the sliders on the left. Use your arrow keys for extra precision. Second, copy the CSS in the box below. You should be able to just pop it into your CSS file.

Introduction to Sass for New WordPress Theme Designers As a new WordPress theme designer, you would quickly learn the challenges of maintaining long CSS files while keeping them organized, scalable, and readable. You will also learn that many designers and front-end developers recommend using a CSS preprocessor language like Sass or LESS. But what are these things? What is Sass? The CSS that we use was designed to be an easy to use stylesheet language. It is very much like PHP which is a preprocessor language that executes a script on the server and generates an HTML output. Since version 3.8, WordPress admin area styles were ported to utilize Sass for development. Getting Started With Sass for WordPress Theme Development Most theme designers use local development environment to work on their themes before deploying it to a staging environment or a live server. First thing you need to do is to install Sass. For the sake of this article, you will need to create a blank theme. Right click on your Sass file and select Set Output Path option.

marmelab/gremlins.js Grok - A Smashing Web Framework — Grok Lazy.js - v0.3.2 Lazy.js is a functional utility library for JavaScript, similar to Underscore and Lodash, but with a lazy engine under the hood that strives to do as little work as possible while being as flexible as possible. It has no external dependencies, so you can get started right away with: (Note the package is called "lazy.js", with a dot.) Or, if you're using Lazy.js in the browser: Now let's look at what you can do with Lazy.js. Introduction Let's start with an array of objects representing people. var people = getBigArrayOfPeople(); Suppose we're using this array to back some sort of search-as-you-type functionality, where users can search for people by their last names. var results = _.chain(people) .pluck('lastName') .filter(function(name) { return name.startsWith('Smith'); }) .take(5) .value(); This query does a lot of stuff: So if performance and/or efficiency were a concern for you, you would probably not do things that way using Underscore. Well, yeah. That's where Lazy.js comes in! Features

Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development krasimir/bubble.js Less Framework 4 I called Less Framework "a CSS grid system for designing adaptive websites". It was basically a fixed-width grid that adapted to a couple of then popular screen widths by shedding some of its columns. It also had matching typographic presets to go with it, built with a modular scale based on the golden ratio. Contrary to how most CSS frameworks work, Less Framework simply provided a set of code comments and visual templates, instead of having predefined classes to control the layout with. /* Default Layout: 992px. Less Framework was popular in the early days of responsive design. Eventually, I moved on from fixed-width grid systems and worked on a fully fluid-width one, in the form of Golden Grid System. Less Framework's popularity was helped by the following contributions and the lovely people behind them (dead links crossed off):

SweetAlert A beautiful replacement for Javascript's "Alert" So... What does it do? Here’s a comparison of a standard error message. Normal alert Code: alert("Oops... Sweet Alert sweetAlert("Oops Pretty cool huh? More examples In these examples, we're using the shorthand function swal to call sweetAlert. Download & install Method 1: Install through bower: $ bower install sweetalert Method 2: Download the sweetAlert CSS and JavaScript files. Configuration Here are the keys that you can use if you pass an object into sweetAlert: Contribute

MontageJS - HTML5 framework Platform En ajoutant le bouton de connexion "Google+ Sign-In" sur votre site, vous bénéficiez de toute la puissance de Google. Lorsqu'un utilisateur est connecté, vous recevez un jeton OAuth vous permettant de formuler des requêtes API en son nom. Ainsi, vous pouvez mieux cerner l'utilisateur, le connecter à ses amis et créer une expérience plus riche et intéressante. Vous pouvez également ajouter le bouton "Google+ Sign-In" à votre application Android ou iOS. La première fois qu'un utilisateur clique sur le bouton de connexion, une boîte de dialogue d'autorisation s'affiche. Un utilisateur a toujours la possibilité de révoquer l'accès à une application à tout moment. Essayer Le bouton ci-dessous déclenche le processus de connexion OAuth 2.0 et génère l'objet de résultat d'autorisation. Sélection d'un processus de connexion Plusieurs options de gestion du processus de connexion s'offrent à vous : Le processus côté client, qui utilise les langages JavaScript et HTML. Étape 4 : Gérer la connexion

Avantages et inconvénients du Responsive Web Design (RWD) Crème Graphique, création sites Web et outils communication, Poitiers Si le RWD présente certains avantages au premier abord, la mise en place d’un projet n’est pourtant pas aussi simple et évidente qu’il n’y parait. Il implique une restructuration de la phase de développement. Pour Marcotte, il est évident que l’on ne peut pas faire du RWD dans l’environnement de production web actuel, tel qu’on le constate généralement en agence. En effet, les phases de conception et de développement en cascade ne sont pas possibles pour un projet RWD efficace et rentable. Pour Ethan Marcotte, le RWD implique donc une restructuration de la phase de développement. Les Points forts du RWD Par rapport aux solutions actuelles, le RWD présente certains avantages au premier abord, que ce soit par rapport à un site web fixe et à un site web dédié au mobile, ou plus simplement à un site web fixe seul. Les points forts du RWD selon l’utilisateur Penchons nous maintenant sur l’utilisateur. Les inconvénients identifiés

Login for the Web Using the JavaScript SDK If people using your app aren't logged into your app or not logged into Facebook, you can use the Login dialog to prompt them to do both. Various versions of the dialog are shown below. If they aren't logged into Facebook, they'll first be prompted to log in and then move on to logging in to your app. The JavaScript SDK automatically detects this, so you don't need to do anything extra to enable this behavior. There are two ways to log someone in: Using the Login Button Including the Login Button into your page is easy. Note that in the example at the start of this document, we use the onlogin attribute on the button to set up a JavaScript callback that checks the login status to see if the person logged in successfully: This is the callback. function checkLoginState() { FB.getLoginStatus(function(response) { statusChangeCallback(response); });} Invoking the Login Dialog with the JavaScript SDK Handling Login dialog response Asking for Permissions

User Interface UI Kit | Gumby Framework Introduction Gumby v2 is here. You haven't a moment to waste! So many new, amazing features await you! But first a quick crash course on the latest and greatest Gumby Framework. Some things you will need with you on this journey are: A code editor of your choice (we recommend Sublime Text 2+)A decent knowledge of HTML/CSSA willingness to learnGoogle or comparable search engine. Some optional things that we recommend include: A web server (Apache or similar) Some basic knowledge of programming (variables, functions)General knowledge of the terminal Things that are NOT required are: Any specific web framework such as Rails, Codeigniter, etc. Browser Compatibility Gumby is developed following the latest standards and specs. ChromeFirefoxOperaInternet Explorer 8 – 10 We also support some of our elderly community of browsers down to IE 8. Options There are many ways you can work with Gumby. GUIs There are several GUIs out there that take the fear/mystery/fun out of using the terminal. Vanilla CSS Mac