background preloader

LESS « The Dynamic Stylesheet language

LESS « The Dynamic Stylesheet language
Related:  Développement Web

Initializr: With Great Templates Comes Great Responsivity! | @verekia's blog Today I'm proud to announce that a "Responsive template" is now available on Initializr! It will help you dealing with all the various devices used to display your site. Mobiles, tablets, netbooks, laptops, desktop monitors, HUGE desktop monitors... Making your site work correctly on all these devices is a real nightmare. Well guess what? About responsive web design For those who have been living in a cave for the last few months (understand: for those who have a life and don’t spend days reading tweets and blogs) you probably need a short update about what a "responsive" design is. To design a responsive layout, we have to forget about the usual static 960px width layouts and go fluid with percentage widths and media queries. A fluid layout with percentage widths The first thing our page needs is a "fluid" layout. Mobile-first approach media queries The mobile view Here is the very simple mobile display of the responsive template. The intermediate view The wide view The maximum-width view

Meilleurs moments pour tweeter et poster sur Facebook Un twit ou un partage sur Facebook peuvent ne pas rencontrer le succès espéré s’ils sont postés au mauvais moment. En effet, avec le volume important d’informations qui circulent sur ces deux outils, une information importante peut vite devenir invisible car recouverte par de nouveaux mini messages occupant le sommet de l’écran, puis la première page, puis les pages suivantes. Et publier une info qui ne sera lu par son auditoire 5 heures plus tard, c’est se priver d’un impact significatif. Le bon timing sur Twitter et FB Les utilisateurs de Twitter cliquent le plus durant le temps de midi et en fin de journée. Pour Facebook, samedi midi est le meilleur moment pour publier de l’information. Ces chiffres sont indicatifs et reflètent une moyenne américaine. Pour être bien vu sur les réseaux sociaux Republier la même information deux fois apporte un plus significatif pour la diffusion et l’impact de ses messages. Quand poster sur les réseaux sociaux ? Publier au bon moment avec les bons outils

Initializr - HTML5 Boilerplates How SVG Line Animation Works I bet all of you have seen that little trick where an SVG path is animated to look like it's drawing itself. It's super cool. Jake Archibald pioneered the technique and has a super good interactive blog post on how it works. Brian Suda wrote about it on 24 Ways. Polygon used it to great effect on a custom designed article and wrote about it. I have very little to add, except my brain just kinda figured it out, so I thought I would explain it one more time the way it clicked for me. 1. 2. 3. We could do that from Illustrator, but we can also do it programatically. That gives us dashes of 20px in length. 4. 5. Watch as we animate the offset of those long strokes: That was a simple as: 6. Nothing really to see, it looks just like the complete shape if it wasn't dashed at all. 7. It will look like the shape isn't there at all. 8. If doing it with CSS, you'll want the animation to have animation-fill-mode of forwards so the final state remains how the animation ends. Tada! Live Example Share On

Sass Before you can use Sass, you need to set it up on your project. If you want to just browse here, go ahead, but we recommend you go install Sass first. Go here if you want to learn how to get everything set up. PreprocessingPreprocessing permalink CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain. Once you start tinkering with Sass, it will take your preprocessed Sass file and save it as a normal CSS file that you can use in your website. The most direct way to make this happen is in your terminal. You can also watch individual files or directories with the --watch flag. sass --watch input.scss output.css You can watch and output to directories by using folder paths as your input and output, and separating them with a colon. sass --watch app/sass:public/stylesheets Sass would watch all files in the app/sass folder for changes, and compile CSS to the public/stylesheets folder. 💡 Fun fact: Sass has two syntaxes! VariablesVariables permalink

All Tuts+ Courses Reactive programming is a way of coding with asynchronous data streams that makes a lot of problems easier to solve. RxJS is a popular library for reactive...Once in a while, it's important for us as developers to go back to what made us excited about computers in the first place. For Derek Jensen, that is gaming....React is a flexible framework that makes it easy to build single-page web applications. One of its tools is a set of lifecycle methods which you can add to...The PixelSquid plugin for Photoshop is an exciting new technology that provides the benefits of 3D elements without having to understand a 3D program or the...How your app looks is as important as how it works, and animation is an important part of modern user interfaces.

Sassaparilla 13 Essential Tools to Check Cross-Browser Compatibility With an endless combination of modern and legacy browsers for users to choose from (depending on their system capabilities), it's our responsibility as designers and developers to ensure the websites we build perform adequately. Testing multiple browsers on multiple platforms isn't just difficult — it can be virtually impossible without the correct resources. However there are tools that let you comprehensively test your website, and check if it successfully displays across various browsers, platforms and resolutions. Below is a curated list of both free and premium cross-browser testing tools, ranging from cloud platforms to desktop applications. Show As Gallery Have something to add to this story?

Is Responsive Design the Right Choice for Enterprise E-Commerce Retailers? Many enterprise website owners are currently evaluating responsive web design as a way to consolidate their multi-screen web strategy. For these businesses, going responsive makes a lot of sense. By reducing the complexity of the site into a single code base, companies can lower the total cost of ownership of web initiatives and future-proof the site for new devices. However, many e-commerce companies are still skeptical of responsive design as a solution to the multi-screen problem. To help answer the question of whether responsive design is a good choice for enterprise e-commerce companies, this post includes a high-level overview of: Why some enterprise-sized businesses are embracing responsive web design to consolidate their web strategy.The risks of responsive design for e-commerce retailers.Whether it is possible for implement responsive design successfully in an e-commerce environment. 1. For many companies, this is an immensely valuable benefit. 2. ...and scroll... 3. Conclusion

How Nesting 3D Transformed Elements Works Ana Tudor is one of those people whose CodePen profiles you check out and go "holy shit." She's that good. She creates incredible visual effects with CSS, on of my favorites being this infinitely unpacked prism. Below she shares her expertise detailing how to create beautiful, nested 3D transforms! CSS 3D transforms do not work at all in IE9 and older or in Opera 12 and older (Presto). CSS animations are incredibly popular right now, and I don't just mean animating a simple color or dimension property, I mean 3D transformations as well; CSS flips and rotating cubes being prime examples. Let's say we have a door in a frame: The HTML is simply: In order to open this door, we add a class of door--open: Now we apply a 3D transform on it (with transform-origin anywhere on its left side): The only prefix you probably need for 3D transforms is the -webkit- prefix. This results in: It doesn't look very realistic. So we're going to add a frame--realistic class to our door frame: Result: