GithubHelp home page GithubHelp logo

lomodd / fileicon.css Goto Github PK

View Code? Open in Web Editor NEW

This project forked from picturepan2/fileicon.css

1.0 1.0 0.0 20 KB

Pure CSS file icons.

Home Page: http://picturepan2.github.io/fileicon.css

License: MIT License

CSS 38.27% HTML 61.73%

fileicon.css's Introduction

Languages: 中文文档

Intro

Pure CSS file icons. Help you create file icons with pure CSS codes. (eg. doc, pdf, png, zip and so on).

See the DEMO

Usage

<div class="file-icon file-icon-xl" data-type="doc"></div>

Will display:

doc

Type

Use attribute data-type to define the file type, We had already defined some file type styles, includes:

  • doc, docx
  • xls, xlsx
  • ppt, pptx
  • pdf
  • zip

Size

Use class file-icon-xx for size define, We support some size below:

  • xs (12x16)
  • sm (18x24)
  • default (24x32)
  • lg (48x64)
  • xl (96x128)

Custom

Use data-type css selector to style your file type colors:

.file-icon[data-type=custom] {
  background: #38A240;
}

Who are using

License

Copyright (c) 2014-2015 Picturepan2. MIT Licensed, see LICENSE for details.

fileicon.css's People

Contributors

picturepan2 avatar hfcorriez avatar

Stargazers

 avatar

Watchers

James Cloos 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.