Skip to content
项目

关于

Izmir - An image hover mini CSS library

设计与媒体

这些数字如何统计

可以做什么

  • 1000's of possible style combinations
  • 20 animated border effects
  • 9 animated image effect
  • 12 animated text effects

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Introduction

Izmir is a mini CSS library allowing you to quickly create beautiful image hover elements. Packed with a host of styling classes and custom properties, Izmir allows you total control and almost limitless possibilites. Simply load the CSS library in to your project, add the element markup combined with the style classes of your choice to custom build your perfect image hover effect.

Features

  • 1000's of possible style combinations
  • 20 animated border effects
  • 9 animated image effect
  • 12 animated text effects
  • Overlay style classes
  • Animation delay classes
  • Text layout classes
  • Collection of custom properties to further custom style your element
    • Border width
    • Border margin
    • Border color
    • Primary color
    • Secondary color
    • Text color
    • Image hover opacity
    • Image hover color
    • Image hover gradient
  • Accesible (hover triggered on focus)
  • Ultra small file size (2KB GZipped)
  • Complete documentation

NPM

npm install @ciar4n/izmir

Setup

  1. Extract and copy the CSS files in the root of your download folder to your projects CSS folder.
  2. Include a link to the CSS your document's <head> tags
<link rel="stylesheet" href="css/izmir.min.css">
  1. Use the following markup to create the most basic instance of an image hover element..
<figure class="c4-izmir">
  <img src="https://source.unsplash.com/FaPxZ88yZrw/400x300" alt="Sample Image">
  <figcaption>
    <h3>Some sample text</h3>
  </figcaption>
</figure>

License

Izmir CSS Library is licensed under the MIT license. (http://opensource.org/licenses/MIT)

探索相关项目

加载中…