Top Related Projects
A progressive theme development rig for WordPress.
Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
Quick Overview
Vivify is a lightweight CSS framework designed to add subtle animations and transitions to web elements. It aims to enhance user interfaces with smooth, eye-catching effects without the need for complex JavaScript or heavy libraries.
Pros
- Easy to implement with simple CSS classes
- Lightweight and performance-friendly
- Compatible with most modern browsers
- Customizable and extendable
Cons
- Limited set of pre-defined animations
- May not be suitable for complex, custom animations
- Requires manual application to each element
- Some effects may be considered outdated in modern web design
Code Examples
Adding a fade-in effect to an element:
<div class="vivify fadeIn">
<p>This content will fade in.</p>
</div>
Creating a pulsing button:
<button class="vivify pulse infinite">Click me!</button>
Combining multiple effects:
<img src="example.jpg" class="vivify fadeIn duration-1000 delay-100 spin-in">
Getting Started
- Download the Vivify CSS file from the GitHub repository.
- Include the CSS file in your HTML:
<link rel="stylesheet" href="path/to/vivify.min.css">
- Add the
vivify
class along with the desired animation class to your HTML elements:
<div class="vivify fadeIn">
<h1>Welcome to my website!</h1>
</div>
- Customize animations using additional classes for duration, delay, and iteration:
<p class="vivify fadeIn duration-2000 delay-500">This text will fade in slowly after a short delay.</p>
Competitor Comparisons
A progressive theme development rig for WordPress.
Pros of WP Rig
- More actively maintained with regular updates and contributions
- Focused on WordPress theme development with built-in best practices
- Extensive documentation and community support
Cons of WP Rig
- Steeper learning curve for beginners
- Requires more setup and configuration compared to simpler themes
Code Comparison
Vivify (CSS):
.vivify.fadeIn {
opacity: 0;
animation-name: fadeIn;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
WP Rig (PHP):
function wprig_content_width() {
$GLOBALS['content_width'] = apply_filters( 'wprig_content_width', 720 );
}
add_action( 'after_setup_theme', 'wprig_content_width', 0 );
Summary
Vivify is a lightweight CSS animation library, while WP Rig is a more comprehensive WordPress theme development toolkit. Vivify offers simple, ready-to-use animations, making it easier for beginners to implement basic effects. WP Rig, on the other hand, provides a robust foundation for creating modern, performant WordPress themes, but requires more advanced knowledge of WordPress development.
Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
Pros of Understrap
- More comprehensive WordPress theme framework with Bootstrap integration
- Actively maintained with regular updates and larger community support
- Extensive documentation and examples for easier customization
Cons of Understrap
- Steeper learning curve for beginners due to its complexity
- Potentially heavier and slower than minimalist themes like Vivify
- May require more setup and configuration for simple projects
Code Comparison
Understrap (functions.php):
function understrap_scripts() {
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), $theme_version );
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'understrap-scripts', get_template_directory_uri() . '/js/theme.min.js', array(), $theme_version, true );
}
add_action( 'wp_enqueue_scripts', 'understrap_scripts' );
Vivify (style.css):
body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #fff;
}
While Understrap provides a more robust framework with Bootstrap integration and extensive customization options, Vivify offers a simpler, lightweight alternative for basic WordPress themes. The code comparison illustrates Understrap's more complex setup for scripts and styles, compared to Vivify's straightforward CSS approach.
WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
Pros of Sage
- More actively maintained with frequent updates and contributions
- Extensive documentation and community support
- Built-in Webpack configuration for modern asset management
Cons of Sage
- Steeper learning curve for beginners
- Requires more setup and configuration
- Heavier footprint due to additional features
Code Comparison
Sage (theme setup):
add_action('after_setup_theme', function () {
add_theme_support('title-tag');
add_theme_support('post-thumbnails');
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
});
Vivify (theme setup):
function vivify_setup() {
add_theme_support('automatic-feed-links');
add_theme_support('title-tag');
add_theme_support('post-thumbnails');
}
add_action('after_setup_theme', 'vivify_setup');
Both themes use similar WordPress functions for basic theme setup, but Sage's approach is more modern with an anonymous function and additional HTML5 support.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Vivify is free CSS animation library.
Usage
Simply include vivify css file into your document's <head>
<link href="vivify.min.css" rel="stylesheet" type="text/css"/>
Add class vivify
to the element you want to animate. If you want your animation to be infinite, you can also add infinite
class.
List of class names you can add
- ball
- blink
- driveInBottom
- driveInLeft
- driveInRight
- driveInTop
- driveOutBottom
- driveOutLeft
- driveOutRight
- driveOutTop
- fadeIn
- fadeInBottom
- fadeInLeft
- fadeInRight
- fadeInTop
- fadeOut
- fadeOutBottom
- fadeOutLeft
- fadeOutRight
- fadeOutTop
- flip
- flipInX
- flipInY
- flipOutX
- flipOutY
- fold
- hitLeft
- hitRight
- jumpInLeft
- jumpInRight
- jumpOutLeft
- jumpOutRight
- popIn
- popInBottom
- popInLeft
- popInRight
- popInTop
- popOut
- popOutBottom
- popOutLeft
- popOutRight
- popOutTop
- pullDown
- pullLeft
- pullRight
- pullUp
- pulsate
- rollInBottom
- rollInLeft
- rollInRight
- rollInTop
- rollOutBottom
- rollOutLeft
- rollOutRight
- rollOutTop
- shake
- spin
- spinIn
- spinOut
- swoopInBottom
- swoopInLeft
- swoopInRight
- swoopInTop
- swoopOutBottom
- swoopOutLeft
- swoopOutRight
- swoopOutTop
- unfold
delay and duration classes
If you want to quickly change delay or duration you can just add delay-
or duration-
and number in ms.
Available times: 100,150 to 900,950 1000,1250,1500,1750 to 10000,10250,10500,10750
example: delay-2500
for 2.5 second delay. or duration-550
for 550 ms duration.
Top Related Projects
A progressive theme development rig for WordPress.
Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot