aboutsummaryrefslogtreecommitdiff
path: root/public/test2.php
blob: a0cbafa0fe0c33fb9e7485eea3c127c7448a0051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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>