background preloader

Custom Scrollbars in WebKit

Custom Scrollbars in WebKit
Way back in the day, you could customize scrollbars in IE (5.5) with non-standard CSS properties like scrollbar-base-color which you would use on the element that scrolls (like the <body>) and do totally rad things. IE dropped that. These days, customizing scrollbars is back, but it's WebKit this time. The Goods The Different Pieces These are the pseudo elements themselves. The Different States These are the pseudo class selectors. :horizontal :vertical :decrement :increment :start :end :double-button :single-button :no-button :corner-present :window-inactive I'm going to steal this whole section from David's blog post on the WebKit blog because it explains each part well: :horizontal – The horizontal pseudo-class applies to any scrollbar pieces that have a horizontal orientation. All together now These pseudo elements and pseudo class selectors work together. Very Simple Example To make a really simple custom scrollbar we could do this: In The Wild View Demo Related Share this: Related:  création site web

The Perfect Fanpage Profile Picture (+ FREE PSD) - WP4FB [message_box type="note" icon="yes" close="Hide"]When this post was post was published, WP4FB was only a simple WordPress theme that is not comparable to the current WP4FB WordPress plugin. The current plugin is a completely new product with many new features. Therefore, this post may be outdated. In this post I want to give away some tips on how to make the perfect fan page profile picture, as well as a FREE profile picture which you can use however you like, so keep on reading! Make use of the size The maximum size of a profile picture is 180 x 540 pixels. However, when you’re using multiple tabs (which appear under the profile picture) you should make sure the page navigation appears above the fold (thus make your profile picture slightly smaller than 540px). Include core benefits As mentioned, the profile picture is the first thing users will see when they visit your fan page. Create a striking thumbnail Include social proof Liking a fan page on Facebook is a social interaction.

Lumbar Lumbar is a js-build tool that takes a general codebase and list of platforms to generate modular platform specific applications. Introduction You can think of lumbar as a conditional compiler that targets platforms. However, it doesn’t rely on variables in your source code. There’s no #ifdef or #endifs. It allows you to define multiple routers in your code.It pulls in your mustache or handlebars templates.It pulls in your stylus styles and generates css files.It outputs standalone javascript and css files.It wraps your code in the correct scope (module pattern), or not. Lumbar works well with Backbone allowing for grouping of routers, models, views, and other application code into stand alone modular javascript and css files which can be lazy loaded when the route is encountered. Best of all, if what’s included out of the box doesn’t satisfy your needs, then you should be able to build a plugin relatively easily to support it. High Level Overview The next big term are module(s). Platforms .

MySQL MySQL (/maɪ ˌɛskjuːˈɛl/ "My S-Q-L",[6] officially, but also called /maɪ ˈsiːkwəl/ "My Sequel") is (as of March 2014[update]) the world's second most[nb 1] widely used[9][10] open-source relational database management system (RDBMS).[11] It is named after co-founder Michael Widenius's daughter, My.[12] The SQL phrase stands for Structured Query Language.[6] The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation.[13] For commercial use, several paid editions are available, and offer additional functionality. Interfaces[edit] MySQL is a relational database management system (RDBMS), and ships with no GUI tools to administer MySQL databases or manage data contained within the databases. Graphical[edit] Command line[edit] Programming[edit] Features[edit]

Mise en page et CSS Introduction à la mise en page par les CSS Les CSS permettent de gérer deux aspects relativement distincts de la présentation de vos pages : La présentation des textes, en jouant sur la taille, la couleur, l'interligne, le type de caractère, la graisse, etc.La mise en page, en gérant la disposition des principaux élements (en-tête, menu, pied de page, etc.) et de leurs contenus. Ce deuxième point est sans aucun doute le plus complexe à maîtriser. Pour vous permettre d'en faire le tour et de réaliser les designs évolutifs que permettent les CSS, nous allons aborder les notions nécessaires une par une : 1- La notion de "flux" Le "flux", c'est l'ordre d'affichage des divers éléments qui composent une page Internet. Par défaut, les navigateurs présentent les éléments dans l'ordre où ils se trouvent dans le code source. Lorsque le navigateur rencontre un élément "bloc", il retourne à la ligne, affiche l'élément bloc puis retourne à nouveau à la ligne pour disposer le reste du contenu. Exemple :

26 jQuery Plugins for Superb Navigation Join Web Design Fan Club to gain access to premium tutorials, free Wordpress themes, high-quality resources and fantastic deals. Learn more. Web Design Blog | Web Design Fan | Resources for Web Designers and Graphic Designers 26 jQuery Plugins for Superb Navigation Written ByTomas LaurinaviciusinInspiration, Tools digg One of the most important website element without content or design is navigation. If you are interested in CISSP certification and seeking some expert help for your exam then you should go for 642-832 dumps and 70-640 practice test by test-king so you will pass your certification exam on first attempt. We hope that you will find what are you looking for and share your thoughts in comments. 1. jQuery Image Gallery View Demo 2. View Demo 3. View Demo 4. View Demo 5. View Demo 6. View Demo 7. View Demo 8. View Demo 9. View Demo 10. View Demo 11. View Demo 12. jSlickmenu: A jQuery plugin for slick CSS3 menus View Demo 13. View Demo 14. View Demo 15. jQuery idTabs View Demo 16. View Demo 17. 18. 19.

FFFFALLBACK - A simple tool for bulletproof web typography. addyosmani/backbone-fundamentals - GitHub Kramer about to barge into Jerry's apartment. The view from the hallway. : pics display: inline-block et les espaces indésirables La valeur inline-block de la propriété display est à la mode, même si elle demeure encore trop peu connue et mal utilisée. Elle offre de multiples avantages dont le principal est de pouvoir disposer des éléments les uns à côté des autres, tout en étant dimensionnés et sans les retirer du flux. L'un de ses inconvénients majeurs est l'apparition d'un espace indésirable et incompressible de prime abord entre les blocs. S'il n'est pas gênant, tant-mieux; sinon, de multiples techniques plus biscornues les unes que les autres existent. Le cas «white-space» Comme tous les éléments de type inline ou de contenu textuel, les objets munis de la déclaration display: inline-block respectent la règle des caractères blancs (whitespace), c’est-à-dire que n’importe quel caractère HTML espaçant deux éléments va immanquablement apparaître entre leurs deux boîtes. L’espace créé par le white-space est d'environ 4 pixels, mais ne vous y méprenez pas : cela varie selon les navigateurs et la taille de police.

CSS3 Lightbox Today we want to show you how to create a neat lightbox effect using only CSS. The idea is to have some thumbnails that are clickable, and once clicked, the respective large image is shown. Using CSS transitions and animations, we can make the large image appear in a fancy way. View demo Download source With the help of the pseudo-class :target, we will be able to show the lightbox images and navigate through them. The beautiful images are by Joanna Kustra and they are licensed under the Attribution-NonCommercial 3.0 Unported Creative Commons License. Please note that this will only work with browsers that support the :target pseudo class. Let’s do it! The Markup We want to show a set of thumbnails, each one having a title that will appear on hover. The anchor for the thumbnail will point to the element with the id image-1 which is the division with the class lb-overlay. Note that we only use a navigation in the last demo. Let’s beautify this naked markup. The CSS And that’s all the style! Demos

Mega Web Buttons Pack #1 Today we want to share our first set of easy-to-implement buttons called ‘Mega Web Buttons Pack’. In this set you will find 42 buttons which you can use easily on your website. We are using the WooFunction icon set released under the GNU General Public License. View demoDownload source Today we want to share our first set of easy-to-implement buttons called ‘Mega Web Buttons Pack’. Our first step is to add the following line of jQuery: This means that we will create a new ‘span’ element which is the holder for the button icon. If, for example, you want to add the ‘Chart’ button you need to add markup to your website: or the ‘Search’ button: In the CSS you can change the looks by, for example, changing the background color: and markup will be: etc. :) We hope you like our experiment.

Useful HTML5 Frameworks, Template Generators and Tools Web designing needs consideration of a few facts before starting with a particular project. Clients will never allow you to take ample time to end up the project and you have to be efficient enough to run parallel with your clients. Uses of technical applications can ease the task which again takes in account the right choice of the designing medium. Using designing template is thus important to deliver a project at the stipulated time. HTML5 frameworks help to cut short the CSS step along with increasing the visibility of the site. Let me discuss in brief why it is inevitable to use frameworks while working with HTML5. Few of the HTML5 frameworks, template generators and tools provide option to include the template in your preferable place including JavaScript, server configurations, Google analytics and also jQuery. The sites that incorporate HTML5 and CSS3 should be grateful to these magical framework. Initializr Modernizr 52framework HTML5 Boilerplate reformed Form Builder Sencha LimeJS