Yntec commited on
Commit
d22c856
1 Parent(s): 3732027

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -2
app.py CHANGED
@@ -113,8 +113,25 @@ with gr.Blocks(css='style.css') as demo:
113
  """
114
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
115
  <div>
116
- <h1 style="font-size: 3rem; color: #ffaa66; font-weight: 900; margin-bottom:20px;">
117
- DreamAnything
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  </h1>
119
  </div>
120
  <p style="margin-bottom: 10px; color: #ffaa66;">
 
113
  """
114
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
115
  <div>
116
+ <style>
117
+ h1 {
118
+ font-size: 6em;
119
+ color: #ffaa66;
120
+ position: absolute;
121
+ margin: 0;
122
+ padding: 0;
123
+ transform-origin: bottom;
124
+ transform: skewX(50deg);
125
+ }
126
+ h1::before {
127
+ content: attr(data-title);
128
+ position: absolute;
129
+ color: #fff;
130
+ transform-origin: bottom;
131
+ transform: skewX(-50deg)
132
+ }
133
+ </style>
134
+ <h1> DreamAnything
135
  </h1>
136
  </div>
137
  <p style="margin-bottom: 10px; color: #ffaa66;">