diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-10-18 01:08:46 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-10-18 01:08:46 +0200 |
commit | 7b2e48276b2a3ceff83c906d38077f8d0479c3df (patch) | |
tree | 0fc26bb1cbae5a30583292fbfb2b752fb623a94d /public/test2.php | |
parent | 65796d4a2349e71ca05f5f298d6f94ff792d88b2 (diff) | |
download | wcms-7b2e48276b2a3ceff83c906d38077f8d0479c3df.tar.gz wcms-7b2e48276b2a3ceff83c906d38077f8d0479c3df.zip |
2.92 new architecture + quickcss class
Diffstat (limited to 'public/test2.php')
-rw-r--r-- | public/test2.php | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/public/test2.php b/public/test2.php new file mode 100644 index 0000000..a0cbafa --- /dev/null +++ b/public/test2.php @@ -0,0 +1,84 @@ +<?php +session_start(); + + + + +?> + + +<html> + +<div class="prot"> + +<?php + +require('../w/class/class.w.quickcss.php'); + +$quick = new Quickcss($_POST); + +//$quick->setjson($_SESSION['css']); + +$quick->calc(); + +$quick->form('test2.php'); + +$_SESSION['css'] = $quick->tojson(); + + +?> + +</div> + + + + + +<style> + +form { + position: fixed; + right: 0; + top: 0; + width: 250px; + height: 100%; + overflow: scroll; + background-color: #d8d8d8; + border: 1px solid black; + +} + +.quickinput { + width: 100%; + background-color: #755454; + display: inline-flex; +} + +input, select{ + width: -webkit-fill-available; +} + + +<?= $quick->tocss() ?> + +</style> + +<body> +<span class="u">BODY</span> + <section> + <span class="u">SECTION</span> + <h1><span class="u">H1</span>Bonjour tout le monde</h1> + + <p><span class="u">P</span>Des bails de oufs qui toueeeett</p> + + <article> + <span class="u">ARTICLE</span> + <h2><span class="u">H2</span>YOLO</h2> + <p><span class="u">P</span> Des bails noirs très noir....</p> + </article> + + + </section> +</body> + +</html> |