Skip to content
Snippets Groups Projects
Commit 2e09299b authored by RANWEZ Pierre's avatar RANWEZ Pierre :anchor:
Browse files

:sparkles: feat: README pseudo elements

parent 38c2674e
Branches
Tags v22w08b
1 merge request!1✨ feat: CSSLSD V2
......@@ -75,7 +75,9 @@ You need to use a custom CSS template, like below to map your audio or MIDI even
You can extend parameter by heritage with template `[<parameter> <type> <option> <audio or midi control>]`. This is not mandatory to type all heritage, but you need to restect the direction. This is allowed : `[<parameter> <type> <option>]` or `[<parameter> <type>]`. This is **not** allowed : `[<parameter> <audio or midi control>]`.
You can use without CSSLSD code without any parameters, use same template like above. How to use : `[<type> <option> <audio or midi control>]`.
You can use without CSSLSD code without any parameters, use same template like above. How to use : `[<type> <option> <audio or midi control>]`.
Pseudo elements like `::after` or `::before` are working, if element have already a pseudo element add your CSS LSD template otherwise add pure CSS, it will create the pseudo element by adding style with class `CSSLSD` at the end of the document. For this pure CSS add : `position:absolute; content:''; width:10px; height:10px;`.
Code example:
......@@ -86,7 +88,7 @@ body {
background-color:[couleur #000:#fff];
}
h1 {
/* Simple parameter usage */
/* Simple parameter usage */
opacity: [opacité];
font-size:[0:20 d loud];
color: #000000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment