From 2e09299b8016b2316b2670f290575398dac6e88f Mon Sep 17 00:00:00 2001 From: Pierre Ranwez <pierre.ranwez.etu@univ-lille.fr> Date: Fri, 25 Feb 2022 11:24:51 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20README=20pseudo=20elements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bfe2ba..d1a574c 100644 --- a/README.md +++ b/README.md @@ -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; -- GitLab