Change class in viewport: create animations with pure CSS
When an element of the page enters the viewport, it adds a CSS class to that element.
Choix solide
Change class in viewport: creat… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 3 months ago, and scores 65/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 50 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Change class in viewport: c… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| animations | #52 |
| css effects | #28 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About Change class in viewport: create animat…
À partir du Lisezmoi officiel · v0.0.5Description
When a specific element of the page enters the viewport, it adds the CSS class “in-viewport” to that element.
When the same element goes out from the viewport it remove the CSS class “in-viewport” and adds the class “not-in-viewport”.
To target the elements, you just need to assign them the CSS class “cciv-el”.
It’s useful to add your custom animations on scroll just with a few lines of CSS.
This is a plugin for CSS developers who want to add simple but effective animation only with pure CSS.
In case the user disables JavaScript, the body of the page will have the CSS class “cciv-no-script”. Use it to don’t show strange things when JavaScript is disabled.
The plugin is ultra light. It adds a few lines of pure JavaScript code in the footer and nothing else.
No additional HTTP requests, no additional queries to the database.
If you measure the performance with or without this plugin, you will not notice any difference.
This plugin is useful if:
- You know how to create an animation in pure CSS.
- You have the possibility to assign a CSS class to the element you want to animate.
- You have the possibility to add your custom CSS.
With the following few lines of pure CSS for example you can create a rotation effect.
.cciv-el{transition: 2s transform ease}
.cciv-el.in-viewport{transform:rotateY(0deg)}
.cciv-el.not-in-viewport{transform:rotateY(180deg)}
.cciv-no-script .cciv-el{transform:none !important}
You can read more about CSS animations and transitions on W3Schools:
https://www.w3schools.com/css/css3_animations.asp
https://www.w3schools.com/css/css3_transitions.asp
You can change the selector to target the elements that you want to animate using the filter ‘cciv_el_selector’.
If for example instead of the CSS class .cciv-el you want something specific to your case, you can add this code in the functions.php of your child theme if any, or in a functional plugin:
add_filter( 'cciv_el_selector','my_cciv_selector' );
function my_cciv_selector( $selector ){
return '#my-custom-id .my-custom-class'; //The elements will not be target anymore by .cciv-el but by what you specify here
}
Don’t lose time any more with heavy jQuery effects, you need just a few lines of CSS, the rest is given by this plugin using few lines of 100% pure JavaScript inlined in the footer.
No performance loss, and no time loss if you have CSS skills.
Aider
Si vous avez besoin d'aide pour ouvrir un fil de discussion sur le forum de support de ce plugin.
Veuillez, avant de publier, activez le débogage dans wp-config.php. Besoin d'un guide étape par étape ? Lisez ce didacticiel détaillé sur Comment activer le débogage dans WordPress pour en savoir plus.
Journal de modifications
0.0.5
- Checked: WordPress 6.4
0.0.4
- Added: Filter hook to execute animation only once.
0.0.3
- Added: Link in the page of plugins to a post that explains how it works
0.0.2
- Improved: Minified JavaScript
0.0.1
- Première version
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Change class in viewport: cre… alternatives
Toutes les animations plugins →FAQ
Change class in viewport: create an…: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Change class in viewport: creat… free?
Yes. Change class in viewport: creat… is free to download and use from the official WordPress.org plugin directory.
Is Change class in viewport: creat… safe to use in 2026?
Change class in viewport: creat… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 3 months ago, and scores 65/100 on our health check.
How many websites use Change class in viewport: creat…?
Change class in viewport: creat… is active on 50+ WordPress websites and has been downloaded 3,078 times since it launched in July 2021. It was downloaded 151 times in the last 30 days.
Does Change class in viewport: creat… work with WordPress 7.1?
Yes. The developer has tested Change class in viewport: creat… up to WordPress 7.1.5, the latest release. It requires WordPress 4.6 or newer.
What PHP version does Change class in viewport: creat… need?
Change class in viewport: creat… requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Change class in viewport: creat… last updated?
The latest version, 0.0.5, was released on August 22, 2026 (3 months ago).
Who makes Change class in viewport: creat…?
Change class in viewport: creat… is developed and maintained by Jose Mortellaro.
What are the best alternatives to Change class in viewport: creat…?
The most popular alternatives to Change class in viewport: creat… are Superb Addons: Blocks, Patt… (80K+ installs), View Transitions (10K+ installs) and Crelly Slider (9K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
