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

TurbineCSS CSS Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development. HTML5 doctype Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects. <! Mobile first With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. To ensure proper rendering and touch zooming, add the viewport meta tag to your <head>. You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag. Bootstrap sets basic global display, typography, and link styles. Set background-color: #fff; on the body Use the @font-family-base, @font-size-base, and @line-height-base attributes as our typographic base Set the global link color via @link-color and apply link underlines only on :hover These styles can be found within scaffolding.less. Normalize.css Containers <div class="container"> ... <! Bold

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

PCSS - CSS Server-side Preprocessor 15+ Helpful Free CSS Frameworks While preparing this list of free CSS frameworks I’ve noticed that it is hard to find the best one among the variety of software which differs by size, age and popularity. I mean we all know such famous frameworks as 960 GS or BlueTrip, although sometimes you don’t need to use such monstrous and heavy tools for small and middle sized projects. Obviously many of you are familiar with CSS framework tools and probably you already use them. Mostly these free CSS frameworks provide powerful options for designing and creating original layout for the web page, but sometimes small details are very important and that’s why we’ve included into our collection several dedicated and light-weight tools like 520 GS (for creating Facebook layout) or Baseline (created for Typography addicts). We strongly believe that you won’t skip any item from our list and will use them in future. 1. 2. 3. 1KB CSS Grid 4. 6. 7. 10. 11. 52 Framework 12. 13. 14. 15. 16. 1 line CSS Grid Framework 17. About the Author

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.