Skip to content
/ krymoh Public

Krymoh is a CSS framework that focuses on cinematic features in css that adds live to a web page AKA the CSS movie maker.

Notifications You must be signed in to change notification settings

mcofie/krymoh

Repository files navigation

Krymoh Image

Krymoh 😉

Krymoh is a CSS framework that focuses on cinematic features in css that adds live to a web page AKA the CSS movie maker. This is written in SASS therefore it is modular. The core idea here is to make this framework the go-to framework when a cinematic feel or property is required in a web page.

Installations & Usage

The framework can be added to your project using two approaches.

1.First it can be install using npm as demostrated below.

   $npm install krymoh.css --save

2.It can be cloned from GitHub and added to your web application as so.

   <head>
     <link rel="stylesheet" href="krymoh.css" type="text/css">
   </head>

Core Components

Krymoh ships with these core components:

  1. Animations
  2. Filters
  3. Gradient
  4. Translation
  5. Transitions
  6. Colors (bonus) 😄

Animations

The animation component of krymoh is mostly preceded with .ani-<animation-name>. These are powerful motion effects that makes user interaction fluid. Below are a list of animations that ships with the framework.

Animation Name Class Name
Pulse pulse
Shake shake
Flip flip
Bounce bounce
Zoom zoom
Wobble wobble
Ghost ghost
Rotate rotate
Side side
Trace trace
Wipe wipe

Filters

These are great bits of codes that bring indepth and a bit more color to your web sites. They defuse the obvious and creates a cinematic illusion. The filters are preceded with .ftr-<filter-name>-<intensity>. The following are a list of filters. The intensity starts from 0 and ends at 200

Filter Name Class Name
Brightness brightness
Contrast constrast
Sepia sepia
Invert invert
Saturate saturate
Opacity opacity

K - Special tint This class is used to add a color tone or rather tint to a given object.

   <div class="tint">
      <img src="<img_url>" style="background-color:red;">
   </div>

Gradient

Color gradients give indepth and different perspectives of emphasis to our web pages. Here are a list of the various color gradients in krymoh. For gradients, they are preceded with grad-<radial-type>

Gradient Name Class Name

Transition

This built in transitions create a seamless movement between objects or elements.

Transition Name Class Name
Linear linear
Ease ease
Ease In ease-in
Ease Out ease-out
Ease In Out ease-in-out
Out Back out-back
Out Sine out-sine
Quad quad
Cubic cubic

Custom Transitions

Transition Name Class Name
Force force
Warm Up warm-up
Palpitate palpitate

Translation

This component determines how a given element on a web page should be oriented. There are three (3) sub components.

  • Scale
  • Skew
  • Translate
Translation Name Class Name Condition
Scale sc-ml<num>-mg<num> or sc-<num> where 1 <= num <= 5
Skew sk-<r or l>-<num>
Translate trnl-<num>-<num>

ml represents multiplier and mg magnitude

Contributing

I plea your indulgence to help make this piece of code better and robust enough for everyone to use.

Written in Accra with ❤️

About

Krymoh is a CSS framework that focuses on cinematic features in css that adds live to a web page AKA the CSS movie maker.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages