pruebas 1

This commit is contained in:
David Itehua Xalamihua 2025-05-24 12:37:26 -06:00
parent 0b7f825387
commit c088c9df78
2 changed files with 23 additions and 14 deletions

View File

@ -19,11 +19,30 @@ main {
/* Smartphones (hasta 767px) */ /* Smartphones (hasta 767px) */
@media (max-width: 767px) { @media (max-width: 767px) {
/* main{ background-color: black; } */ /* main{ background-color: black; } */
#random-img {
width: 96%;
height: auto;
}
/* main {
min-height: 80vh;
} */
} }
/* Tablets (768px - 1023px) */ /* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) { @media (min-width: 768px) and (max-width: 1023px) {
/* main{ background-color: pink; } */ /* main{ background-color: pink; } */
#random-img {
width: 95%;
height: auto;
}
/* main {
min-height: 85vh;
} */
} }
/* Laptops (1024px - 1439px) monitores resulición baja */ /* Laptops (1024px - 1439px) monitores resulición baja */

View File

@ -1,8 +1,8 @@
<style> <style>
.floating-btn { .floating-btn {
position: fixed; position: fixed;
width: 5em; width: 80px;
height: 5em; height: 80px;
background-color: #ffffff; background-color: #ffffff;
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
@ -10,7 +10,8 @@
align-items: center; align-items: center;
cursor: move; cursor: move;
user-select: none; user-select: none;
z-index: 1000; z-index: 1;
/* z-index: 1000; */
transition: transition:
background-color 0.3s, background-color 0.3s,
left 0.3s ease, left 0.3s ease,
@ -22,18 +23,7 @@
cursor: grabbing; cursor: grabbing;
} }
/* @keyframes spin-right {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.rotating {
animation: spin-right 4s linear infinite;
} */
</style> </style>
<div class="floating-btn border border-light shadow-lg" id="floatingBtn"> <div class="floating-btn border border-light shadow-lg" id="floatingBtn">