프로젝트
GitHub에서 보기
picturepan2/fileicon.css
소개
Fileicon.css - 사용자 지정 가능한 순수 CSS 파일 아이콘입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLanguages: 中文文档
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:

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
- 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
- PUBU.im - https://pubu.im
License
Copyright (c) 2014-2015 Picturepan2. MIT Licensed, see LICENSE for details.
관련 프로젝트 살펴보기
불러오는 중…