background preloader

CSS3 : Transformations 2D

CSS3 : Transformations 2D
CSS3 apporte les transformations en 2 dimensions à travers la propriété transform et une liste de fonctions prédéfinies. Voyons ensemble la prise en charge actuelle de cette propriété et des fonctions qui l'accompagnent. La propriété CSS transform permet de manipuler un élément HTML sur les axes X et Y (horizontal et vertical) grâce à des fonctions diverses de transformation graphique. Il est donc possible de modifier l'apparence d'un élément grâce à un ensemble fonctions 2D : Syntaxe La syntaxe est simple d'emploi. transform: function(value); Il est souvent nécessaire d'utiliser les préfixes vendeurs (-webkit-, -moz-, etc.) devant la propriété transform pour utiliser les transformations 2D sur les versions actuelles et passées de navigateurs. Il est également possible d'effectuer des transformations combinées en espaçant les fonctions d'un simple caractère blanc. transform : function1(value1) function2(value2) function3(value3); La propriété transform-origin transform-origin: 50% 50%; Related:  Front-endTutoriels

Building Responsive Websites Using Twitter BootStrap Before we start, there are a few things that you should know. This is a sequel to my previous article, Twitter Bootstrap Tutorial – Handling Complex Designs, which showcased many basics about building websites using Twitter Bootstrap from scratch. I highly recommend you read the previous article before jumping into the responsive nature of Twitter BootStrap. I am very thankful to our readers who praised my previous article and encouraged me to write the sequel to it. While the Release Candidate 1 of Twitter Bootstrap 3 is already out, we will be using version 2.3.2, which was their last most stable framework version. What do you mean by the “Responsiveness” of a website? The first thing that comes to our mind when we use the word “Responsive” in the context of websites is that it should be compatible with all kinds and sizes of devices. With the help of CSS3 and definitely HTML5, this trend is increasing every day. Well, you don’t have to worry any more. Setting up Let’s Begin Conclusion

Zoom sur image avec fenêtre « modal responsive » en pure CSS3 - Trucsweb.com La visualisation d’image grand format dans une fenêtre modale communément appelée le « Magic zoom » ou « Image Zoom Magnification » ne date pas d’hier. Autrefois en pure Javascript, il y a une bonne douzaine de Tutoriels dans la collection « Les fenêtres ou l’objet WINDOW - Le premier objet du Javascript » ou encore combiné au Flash « Ouvrir une fenêtre ou Pop-up en Flash Partie 1 ». Puis jQuery a changé le visage du Web et donc il existe des dizaines de variations, il suffit d’une requête sur Google pour s’en rendre compte. Deux bon exemple : fancyBox 2 ou Magnific Popup par Dmitry Semenov. Mais il existe aussi excellente solution Javascript sans jQuery : TinyBox2 JavaScript Modal Windows - TinyBox2 par Michael LeigeberLe plus léger des exemple Javascript SimpleModal SimpleModal par PlasmExcellent exemple Javascript sans jQuery. On retrouve souvent une variation intéressante dans les sites de vente en ligne pour voir les détails d’une image avec Magic Zoom. L’idée est la simplicité.

The Ultimate Guide to Social Media Image Sizing In this day and age of what seems like endless social networks it can be a pain to find out what size images to upload for each site. Most sites have their own sizes that they utilize and as such it can be a real pain trying to figure all of that out. until now…. LunaMetrics has released this awesome infographic detailing the correct size for most of the popular social networks. This includes sites such as FAcebook, Twitter, Google Plus, Pinterest, Youtube and Linkedin. If you have been having trouble trying to size your image correctly then this is the image you need to check out. Pin It Even if you think you may not need it now, i would suggest grabbing a copy of it and keeping it for reference. What do you think of this infographic?

CSS Alternate Fixed & Scroll Backgrounds How to create alternate fixed and scroll backgrounds with no javascript, but just the help of the CSS background-attachment property set on Fixed. Browser support ie Chrome Firefox Safari Opera 9+ These days we see a lot of parallax effects in web projects. Demo images from Unsplash. Creating the structure The HTML is quite basic: we alternated <div> elements with a .cd-fixed-bg class – used for the sections with fixed backgrounds – with divs with a .cd-scrolling-bg class – used for the sections with plain backgrounds. Adding style When I was thinking about how to achieve this effect, my first thought was to play with jQuery: maybe I should create a <div> in position fixed, and use it to change the background image while the user scrolls. That’s it!

Collecting all the cheat sheets OverAPI.com Collecting All Cheat Sheets Python jQuery NodeJS Java Ruby JavaScript ActionScript Git MySQL RegExp Linux mod_rewrite Developer Tools >> About and Comments >> Get Chrome Extension >> .NET ActionScript Ada ADO.NET Adobe Adobe Acrobat AJAX Algebra Apache Apache Ant Apache Camel Apache Cassandra Apache Solr APT Arduino ASCII Astronomy ASP Assembly Language Atom AWK Azure Bash Blender Bazaar BDB BGP Berkeley DB BIRT BlazeDS Blogger Blueprint BPEL BPM BPML Business Process Modeling C C# C++ Calculus Camera Catalyst Characters Chef Chemistry chmod Clojure Cloud Computing Cocoa ColdFusion Colour Computer Science Continuous Integration Countries CSS CUE CVS DB2 db4o Debian Delphi Design Pattern Django Doctrine Doctypes DOM DDD Domain-Driven Design DOT language Drupal DTD Eclipse Emmet Ed EJB Emacs Emoticon Encoding Erlang EIGRP F# Facebook Fedora Feed File Firebug Firefox Firefox Add-ons FitNesse Flash Flash Catalyst Flex Fonts Fortran Freeware FTP First Hop Redundancy NetBeans NMAP Node.js Numbers

jqGrid: How to Make it Responsive (with Twitter Bootstrap) | Designer's lab Posted: March 30th, 2015 | Author: Julia | Filed under: Development, Tips and Tricks | Tags: bootstrap, javascript, jqGrid, jQuery, responsive | 2 Comments » I started developing application with jQgrid (an Ajax-enabled JavaScript control for representing and manipulating tabular data) and Twitter Bootstrap grid system. This jQGrid plugin uses a px width for defining width of the grid and column width. And my design should support responsibility – as usual. And that’s the tricky part ;) Solution #1 The HTML: I wrapped my grid with div element with class ‘jqGrid': Javascript: I set beforeRequest event and re-write styles below: *Disadvantage of the solution above is the one works in case we have ajax request only. Check standalone example: Responsive jqGrid-1 (with Twitter Bootstrap) in action >> Solution #2 (I like this one rather better) The HTML is the same as above. Javascript: You can use the following grid options: Now my grid fills 100% of parent’s width.

25 Tutorials of Advanced User Interface CSS3 Effects We all know that technology is evolving like anything and since web browsers are constantly making changes and improving their standards, web developers have to become shrewd and they, too, are constantly trying to adopt the changes. I personally believe that all these changes are positive and this will definitely lead to enhanced support and of course making frontend development time a lot more convenient. Since new techniques are being introduced every now and then, I think the best way to learn new stuff is through online tutorials. Today, in this article we will be presenting a list of 25 great css3 tutorials through which you can learn more about advanced interfaces. Interactive Infographic with SVG and CSS Animations I am sure not much is aware of ‘Scalable Vector Graphics’ format. Advertisement Animated 3D Bar Chart with CSS3 This tutorial will help you in creating a full 3D bar chart. Understanding the CSS Clip Property This ‘Clip’ property is one single CSS property. Metro UI CSS

Floating, Fixed Position Social Icons - Andre Bulatov We’re All Social! I’ve searched for floating social icons multiple times, for a variety of projects. We’re all social nowadays and we want to show that and link to our profiles in a cool way. I gave up googling for this and just created my own. In this post, I’ll share the code for my Floating, Fixed Position Social Icons with you. The Code The code for this is going to be pretty simple. The HTML – Foundation Markup Code For This Floating Social Doo-dad The HTML for this is pretty basic. *If you want to know how I did this code formatting in WordPress, check out my post about syntax highlighting. The CSS – Styling The JavaScript – Functionality This javascript is responsible for smooth auto-positioning with the window size. As mentioned earlier in the post, I will update the JS later, when I learn how to do API calls to social networks to grab the “share” or “like” counts and to report them live right on the Floating Social Links widget. Update 1:

Extending HTML5 — Microformats While HTML5 has a bunch of semantic elements, including new ones like <article> and <nav>, sometimes there just isn’t an element with the right meaning. What we want are ways to extend what we’ve got, to add extra semantics that are machine-readable — data that a browser, script, or robot can use. Native ways to extend HTML There were five fundamental ways we could extend HTML 4: <meta> elementclass attributerel attributerev attributeprofile attribute In HTML5, rev has fallen by the wayside, becoming obsolete since hardly anyone used it correctly, and because it can be replaced by rel. profile is also obsolete, and there is no support for namespaces in HTML5. Even better, WAI-ARIA’s role and aria-* attributes are allowed in HTML5, and HTML5 validators can check HTML5+ARIA. Finally there are microformats. Introducing microformats Microformats are a collection of vocabularies for extending HTML with additional machine-readable semantics. Microformat specifications Published microformats

30+ jQuery Plugins For Scrolling Effects With CSS Animation - ninodezign.com One of the trendiest techniques to have fun with is scrolling. A bit of website animation can be fun and enticing to new visitors, animated page elements do not offer major alterations on content, but can provide a more extraordinary user experience. Many website developers use different ways of scrolling to make their websites more alluring and interesting to their viewers so that they don’t get bored. To save all the web developers lots of time and trouble of searching for such JQuery plugins of scrolling effects we bring you 30+ jQuery plugins for scrolling effects with CSS animation. These plugins will help you get some amazing scrolling animation on your website with no time. 1 – Animated Scroll Effects Demo Download 2 – AnimateScroll Demo Download AnimateScroll is a jQuery plugin which enables you to scroll to any part of the page in style by just calling the animatescroll() function with the Id or Classname of the element where you want to scroll to. Demo Download 4 – Wow.js Advantages:

Related: