0.6.1 • Published 17 days ago

victory.css v0.6.1

Weekly downloads
2
License
MIT
Repository
github
Last release
17 days ago

Victory.css is a simply and lightweight front-end framework/toolkit (call it what you want) for developing fast.

Download

Use CDN:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/victory.css@0.6/dist/victory.min.css">
<script src="https://cdn.jsdelivr.net/npm/victory.css@0.6/dist/victory.min.js"></script>

Or download from:

then use in your project put like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="victory.min.css">
<script src="victory.min.js"></script>

Browser Support

ChromeFirefoxSafariOperaEdgeEdgeHTMLIE9+IE8
ChromeFirefoxSafariOperaEdgeEdgeHTMLIE9+IE8
✔ 8+(partial)

Note: Victory.css has some fallbacks for old browsers without media-queries support, such as Internet Explorer 8, preventing your site from breaking

Basic vs Standard

Basic contains only basic resources, victory-basic.min.js contains only polyfills, about differences see:

ResourceStandardBasicAbout
border.scssUtility for arround any element
clear-both.scssClear both "global"
colors.scssBackground and border color classes
commons.scssVarious classes of common use
container.scsscontainer (adpatative width @media-query) and container-fluid
grid.scssGrid system
normalize.scssBasic normalize and fallback for html5 tags for old browsers
text-align.scsstext-align basead in view-port size
visibility.scssvisibility: and display: basead in view-port size
arrow.scss-Various arrow "icons"
badge.scss-Badges system
button.scss-Styled buttons
code.scss-Pre defined style for <code> tags
divider.scss-Style horizontal lines (like <hr>)
fix-render.scss-fix-render (fix bug in elements with position:fixed on enter Chromium/Chrome DevTools)
input.scss-Styled inputs
kbd.scss-Pre defined style for <kbd> tags
nav.scss-Navbar system
resize.scss-Resize elements (only Desktop)
slide.scss-Slide system
table.scss-Styled tables
underline.scss-Underline text animated
Minified size42kB16kB-
Gziped size7.5kB2.7kB-

Development

To contribute or modify download using git (require npm):

git clone https://github.com/inphinit/Victory.css.git [project_name]
cd [project_name]
npm install

After changes files in ./src folder execute this command for deploy:

npm run build

Or see another commands

Commands

CommandDescription
npm run readmeGenerate README.html from README.md
npm run examplesGenerate examples/index.html for link all examples
npm run mergecssFor create only victory.css without create prefixes and without min version
npm run prefixFor put prefix properties in victory.css
npm run mincssFor create min version from victory.css
npm run mergejsFor create only victory.js without min version
npm run minjsFor create min version from victory.js
npm run standardDeploy without create slim and minimal versions, auto-execute follow commands mergecss, prefix, mincss, mergejs, minjs
npm run buildFull deploy, auto-execute follow commands mergecss, prefix, mincss, mergejs, minjs, basic:mergecss, basic:mincss, basic:mergejs, basic:minjs, minimal:mergecss, minimal:mincss in sequence

Basic commands

CommandDescription
npm run basic:mergecssFor create only victory-basic.css without min version
npm run basic:mincssFor create min version from victory-basic.css
npm run basic:mergejsFor create only victory-basic.js without min version
npm run basic:minjsFor create min version from victory-basic.js
npm run basicMinimal deploy, auto-execute follow commands basic:mergecss, basic:mincss, basic:mergejs and basic:minjs in sequence
0.6.1

17 days ago

0.5.4

3 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.5

4 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.0.1

6 years ago