-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
109 lines (100 loc) · 2.59 KB
/
index.php
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
echo '<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>twitter posts</title>
<style media="screen">
html{
height: 100%;
}
body{
min-height: 100%;
background-color: #2980b9;
}
.formFP{
text-align: center;
}
#followers,#post{
border-radius: 8px;
padding: 10px;
border: 3px solid #2c3e50;
}
#followers:focus,#post:focus{
outline: none !important;
border-color: #f39c12;
box-shadow: 0 0 10px #f39c12;
}
label{
color:#c0392b;
font-size: 30px;
font-weight: bold;
font-family: monospace;
}
/****Start Button Style****/
/* GENERAL BUTTON STYLING */
button,
button::after {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
button {
background: none;
border: 3px solid #fff;
border-radius: 5px;
color: #fff;
display: block;
font-size: 16px;
font-weight: bold;
margin: 1em auto;
padding: 1em 3em;
position: relative;
text-transform: uppercase;
}
button::before,
button::after {
background: #fff;
content: "";
position: absolute;
z-index: -1;
}
button:hover {
color: #2ecc71;
}
/***btn style****/
.btn {
overflow: hidden;
}
.btn::after {
/*background-color: #f00;*/
height: 100%;
left: -35%;
top: 0;
transform: skew(50deg);
transition-duration: 0.6s;
transform-origin: top left;
width: 0;
}
.btn:hover:after {
height: 100%;
width: 135%;
}
/****End Button Style****/
</style>
</head>
<body>
<form action="resultatwitter.php" method="post" class="formFP">
<br><br>
<label for="followers">Followers:</label>
<br><br>
<textarea rows="8" cols="80" name="followers" id="followers" autofocus></textarea><br><br>
<label for="post">Post:</label>
<br><br>
<textarea rows="8" cols="80" name="post" id="post"></textarea><br><br>
<button type="submit" class="btn" name="test">Envoyer</button>
</form>
</body>
</html>';
?>