mirror of
https://github.com/Fechin/reference.git
synced 2026-12-03 01:59:30 +03:00
#320 reformat: and fix: UI
This commit is contained in:
1 parent
1cee3a7fff
commit
5874e283fb
4 files changed
+7
-276
No files matched your search
@@ -13,22 +13,19 @@
|
||||
|
||||
<!-- Gradient display -->
|
||||
<div class="flex justify-center w-full">
|
||||
<div id="gradientBox" class="w-full max-w-xl h-64 rounded-lg shadow-lg border border-gray-300" style="background: linear-gradient(to right, #8000ff, #feb47b);"></div>
|
||||
<div id="gradientBox" class="w-full max-w-xl h-64 rounded-lg shadow-lg border border-gray-300" style="background: linear-gradient(to right, #ff7e5f, #8000ff);"></div>
|
||||
</div>
|
||||
|
||||
<!-- CSS code display -->
|
||||
<div class="flex justify-center w-full mt-5">
|
||||
<div class="flex justify-center w-full mt-5 mb-4">
|
||||
<div class="mt-5 w-full max-w-xl bg-gray-500 p-4 rounded-lg shadow-inner">
|
||||
<div>
|
||||
<h2 class="text-lg font-semibold mb-2 text-white text-center">CSS Code</h2>
|
||||
<pre id="cssCode" class="p-2 rounded overflow-x-auto text-sky-500 bg-gray-100">background: linear-gradient(to right, #ff7e5f, #feb47b);</pre>
|
||||
<pre id="cssCode" class="p-2 rounded overflow-x-auto text-neutral-900 bg-gray-100">background: linear-gradient(to right, #ff7e5f, #8000ff);</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<script>
|
||||
const colorInput1 = document.getElementById('color1');
|
||||
const colorInput2 = document.getElementById('color2');
|
||||
|
||||
Reference in new issue
Block a user