• Complain

Craig Buckler - CSS: Tools & Skills

Here you can read online Craig Buckler - CSS: Tools & Skills full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: SitePoint, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Craig Buckler CSS: Tools & Skills

CSS: Tools & Skills: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "CSS: Tools & Skills" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

CSS has grown from a language for formatting documents into a robust language for designing web applications. Its syntax is easy to learn, making CSS a great entry point for those new to programming. Indeed, its often the second language that developers learn, right behind HTML.

As CSSs feature set and abilities have grown, so has its depth. This book contains a selection fo articles that look at essential CSS tools and skills for front-end developers today. It contains:

  • How to Use Gulp.js to Automate Your CSS Tasks by Craig Buckler
  • CSS Optimization Tools for Boosting PWA Performance by Ahmed Bouchefra
  • CSS Debugging and Optimization: Code Quality Tools by Tiffany B. Brown
  • CSS Debugging and Optimization: Developer Tools by Tiffany B. Brown
  • CSS Debugging and Optimization: Minification with CSSO by Tiffany B. Brown
  • How to Create Printer-friendly Pages with CSS by Craig Buckler
  • Craig Buckler: author's other books


    Who wrote CSS: Tools & Skills? Find out the surname, the name of the author of the book and a list of all author's works by series.

    CSS: Tools & Skills — read online for free the complete book (whole text) full work

    Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "CSS: Tools & Skills" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

    Light

    Font size:

    Reset

    Interval:

    Bookmark:

    Make
    CSS: Tools & Skills

    Copyright 2018 SitePoint Pty. Ltd.

    Ebook ISBN: 978-1-925836-19-6

    • Project editor: Craig Buckler
    • Cover Design: Alex Walker
    Notice of Rights

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.

    Notice of Liability

    The author and publisher have made every effort to ensure the accuracy of the information herein. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors and SitePoint Pty. Ltd., nor its dealers or distributors will be held liable for any damages to be caused either directly or indirectly by the instructions contained in this book, or by the software or hardware products described herein.

    Trademark Notice

    Rather than indicating every occurrence of a trademarked name as such, this book uses the names only in an editorial fashion and to the benefit of the trademark owner with no intention of infringement of the trademark.

    Published by SitePoint Pty Ltd 48 Cambridge Street Collingwood VIC Australia - photo 1
    Published by SitePoint Pty. Ltd.

    48 Cambridge Street Collingwood
    VIC Australia 3066
    Web: www.sitepoint.com
    Email: books@sitepoint.com

    About SitePoint

    SitePoint specializes in publishing fun, practical, and easy-to-understand content for web professionals. Visit http://www.sitepoint.com/ to access our blogs, books, newsletters, articles, and community forums. Youll find a stack of information on JavaScript, PHP, design, and more.

    Preface

    CSS has grown from a language for formatting documents into a robust language for designing web applications. Its syntax is easy to learn, making CSS a great entry point for those new to programming. Indeed, its often the second language that developers learn, right behind HTML.

    As CSS's feature set and abilities have grown, so has its depth. In this book, we'll be looking at essential CSS tools and skills for front-end developers today.

    Conventions Used
    Code Samples

    Code in this book is displayed using a fixed-width font, like so:

    A Perfect Summer's Day

    It was a lovely day for a walk in the park.The birds were singing and the kids were all back at school.

    Where existing code is required for context, rather than repeat all of it, will be displayed:

    function animate() { new_variable = "Hello";}

    Some lines of code should be entered on one line, but weve had to wrap them because of page constraints. An indicates a line break that exists for formatting purposes only, and should be ignored:

    URL.open("http://www.sitepoint.com/responsive-web-design-real-user-testing/?responsive1");

    Youll notice that weve used certain layout styles throughout this book to signify different types of information. Look out for the following items.

    Tips, Notes, and Warnings
    Hey, You!

    Tips provide helpful little pointers.

    Ahem, Excuse Me ...

    Notes are useful asides that are relatedbut not criticalto the topic at hand. Think of them as extra tidbits of information.

    Make Sure You Always ...

    ... pay attention to these important points.

    Watch Out!

    Warnings highlight any gotchas that are likely to trip you up along the way.

    Chapter 1: How to Use Gulp.js to Automate Your CSS Tasks
    by Craig Buckler

    In this article, we look at how you can use Gulp.js to automate a range of repetitive CSS development tasks to speed up your workflow.

    Web development requires little more than a text editor. However, youll quickly become frustrated with the repetitive tasks that are essential for a modern website and fast performance, such as:

    • converting or transpiling
    • minimizing file sizes
    • concatenating files
    • minifying production code
    • deploying updates to development, staging and live production servers.

    Some tasks must be repeated every time you make a change. The most infallible developer will forget to optimize an image or two and pre-production tasks become increasingly arduous.

    Fortunately, computers never complain about mind-numbing work. This article demonstrates how use Gulp.js to automate CSS tasks, including:

    • optimizing images
    • compiling Sass .scss files
    • handling and inlining assets
    • automatically appending vendor prefixes
    • removing unused CSS selectors
    • minifying CSS
    • reporting file sizes
    • outputting sourcemaps for use in browser DevTools
    • live-reloading CSS in a browser when source files change.

    All the code is available from GitHub, and it works on Windows, macOS or Linux.

    Why Use Gulp?

    A variety of task runners are available for web projects including Gulp, Grunt, webpack and even npm scripts. Ultimately, the choice is yours and it doesnt matter what you use, as your site/app visitors will never know or care.

    Gulp is a few years old but stable, fast, supports many plugins, and is configured using JavaScript code. Writing tasks in code has several advantages, and you can modify output according to conditions such as only minifying CSS when building the final files for live deployment.

    Example Project Overview

    The task code assumes Gulp 3.x will be used. This is the most recent stable version and, while Gulp 4 is available, its not the default on npm. If youre using Gulp 4, refer to How do I update to Gulp 4? and tweak the gulpfile.js code accordingly.

    Image file sizes will be minimized with gulp-imagemin which optimizes JPG, GIF and PNG bitmaps as well as SVG vector graphics.

    Sass .scss files will be pre-processed into a browser-compatible main.css file. Sass isnt considered as essential as it once was, because:

    • standard CSS now offers features such as variables (Custom Properties)
    • HTTP/2 reduces the need for file concatenation.

    That said, Sass remains a practical option for file splitting, organization, (static) variables, mixins and nesting (presuming you dont go too deep).

    The resulting Sass-compiled CSS file will then be processed using PostCSS to provide further enhancements such as asset management and vendor-prefixing.

    Getting Started with Gulp

    If youve never used Gulp before, please read An Introduction to Gulp.js. These are the basic steps for getting started from your terminal:

    1. Ensure Node.js is installed.
    2. Install the Gulp command-line interface globally with npm i gulp-cli -g.
    3. Create a new project folder for example, mkdir gulpcss and enter it (cd gulpcss).
    4. Run npm init and answer each question (the defaults are fine). This will create a package.json project configuration file.
    5. Create a src sub-folder for source files: mkdir src.

    The example project uses the following sub-folders:

    • src/images image files
    • src/scss source Sass files
    • build the folder where compiled files are generated
    Next page
    Light

    Font size:

    Reset

    Interval:

    Bookmark:

    Make

    Similar books «CSS: Tools & Skills»

    Look at similar books to CSS: Tools & Skills. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


    Reviews about «CSS: Tools & Skills»

    Discussion, reviews of the book CSS: Tools & Skills and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.