Blog
WebAcappella Fusion

WebAcappella Fusion

Language
Advanced concepts / Integration / HTML /JS / CSS

Integration / HTML /JS / CSS

WebAcappella Fusion allows the inclusion of code/scripts at several levels.

WebAcappella FUSION is completely independent of the JQuery library, which facilitates the integration of third-party code (no conflicts).

In components

comp html
button edit html
edit html

The 'magic' selector

WebAcappella's 'magic' selector .$ makes it easier to write CSS rules for your elements. This selector will be automatically replaced by the selector corresponding to the current component.

Tip

Example in a page published with WebAcappella and an image component: .$ { filter: sepia(1); } The result will be the application of a 'sepia' filter to your image.

In the pages

On the website

Using files within your HTML code

You may need to use files within your HTML code. Let's take the example of integrating a Lottie animation file.

A Lottie animation consists of at least two elements on the page:

You can insert the JSON file corresponding to the animation of your choice in place of the URL text.

insert file

You will find animations on the site, among other things:

This will result in code that looks like this: