GithubHelp home page GithubHelp logo

dotnet-sprite's Introduction

dotnet-sprite

A utility designed to produce a CSS sprite from a folder of images. An image sprite consolidates multiple images into a single file. Websites containing numerous images may experience prolonged loading times and trigger numerous server requests. Utilizing image sprites minimizes server requests, conserving bandwidth. This tool facilitates the creation of a sprite image along with its corresponding CSS file.

Learn more about Implementing image sprites in CSS

Build Status NuGet NuGet Downloads

Get started

Install .NET 6 or newer and run this command:

dotnet tool install --global dotnet-sprite

Run the tool with dotnet-sprite command.

Usage

Description:
  A tool to generate a CSS sprite from a directory of images

Usage:
  dotnet-sprite <source> [options]

Arguments:
  <source>  Source images directory [default: C:\Windows]

Options:
  -o, --output <output>  Output directory
  -c, --use-classes      Use classes instead of ids in the CSS file [default: False]
  --version              Show version information
  -?, -h, --help         Show help and usage information

dotnet-sprite's People

Contributors

anuraj avatar

Stargazers

AbdulrahmanXSO25 avatar Mahmoud Kinawy avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.