Updated HTML and Javascript in HTML

I'm using the most recent Version of Safar (9.0)


I'm using Xcode to edit some local JavaScript and HTML that is being viewed in Safari (Please let me know if there is a better way of doing what I'm describing, I'm all ears).

My problem is that when I make the changes to the Javascript in Xcode then save, even when reloading the HTML and associated Javascript files (both using the reload button in the address bar and the Reload [Ignoring Cache and Generic Options] on the Resources Panel, the changes to the underlying files do not become visible (even after the refreshes)


Even when I'm not running with breaks I have to do one of two things to get the changes to become visible

a) close out the page completley by closing the tab

b) under resources clicking the source file in question so the javascript pops up in a new tab, then clicking the refresh button on the Resources panel.


Is there an easier way to get the changes to become visible in Safari as soon as I save them in xCode?


Is there a better way to do this that involves either Only Safari or Only xCode thanks, Jeff

Check this...

function Copiar(pass) {                  document.getElementById('Pass').value = pass;              var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur();             } function btnCopiar() {             var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; $(window).scrollTop(0);             } function btnLeer() {
document.getElementById("areaLeer").style.display = 'block'; document.getElementById("areaLeer").value = document.getElementById("Leer").value; var copyText = document.getElementById("areaLeer"); copyText.select(); document.execCommand("copy"); document.getElementById("areaLeer").style.display = 'none'; document.getElementById("Pass").value = document.getElementById("Leer").value;             } function Max() {
if (document.getElementById('Pass').style.height == '300px') { document.getElementById('descripcion_caso').style.display = 'none'; document.getElementById("Pass").style.height = "500px"; document.getElementById("Pass").style.width = "400px"; } else { document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); $(window).scrollTop(0);
}             } function Cerrar() {                   document.getElementById("tab-one").checked=false;                   document.getElementById("tab-two").checked=false;                   document.getElementById("tab-three").checked=false;                   document.getElementById("tab-four").checked=false;                   document.getElementById("tab-five").checked=false;                   document.getElementById("tab-six").checked=false;                   document.getElementById("tab-seven").checked=false;                   document.getElementById("tab-eight").checked=false;                   document.getElementById("tab-nine").checked=false;                   document.getElementById("tab-ten").checked=false;                   document.getElementById("tab-eleven").checked=false;                                 } function Borrar() { document.getElementById("Pass").value = ''; } $(document).on("ready", main); function main() {       $("#tfBuscar").on("keyup", buscar); } function buscar(){       var tarjetas = $(".tarjeta");       var texto = $("#tfBuscar").val();       texto = texto.toLowerCase();       tarjetas.show();       $(".resultados").show();       for(var i=0; i< tarjetas.size(); i++){             var contenido = tarjetas.eq(i).text();             contenido = contenido.toLowerCase();             var index = contenido.indexOf(texto);       if(index == -1){             tarjetas.eq(i).hide();             $(".resultados").hide();             }       } } $(function() { var actualizarHora = function() { var fecha = new Date(), hora = fecha.getHours(), minutos = fecha.getMinutes(), segundos = fecha.getSeconds(), diaSemana = fecha.getDay(), dia = fecha.getDate(), mes = fecha.getMonth(), anio = fecha.getFullYear(), ampm; var $pHoras = $("#horas"), $pSegundos = $("#segundos"), $pMinutos = $("#minutos"), $pAMPM = $("#ampm"), $pDiaSemana = $("#diaSemana"), $pDia = $("#dia"), $pMes = $("#mes"), $pAnio = $("#anio"); var semana = ['Domingo', 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sabado']; var meses = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre']; $pDiaSemana.text(semana[diaSemana]); $pDia.text(dia); $pMes.text(meses[mes]); $pAnio.text(anio); if (hora >= 12) { hora = hora - 12; ampm = "PM"; } else { ampm = "AM"; } if (hora == 0) { hora = 12; } if (hora < 10) { $pHoras.text("0" + hora) } else { $pHoras.text(hora) }; if (minutos < 10) { $pMinutos.text("0" + minutos) } else { $pMinutos.text(minutos) }; if (segundos < 10) { $pSegundos.text("0" + segundos) } else { $pSegundos.text(segundos) }; $pAMPM.text(ampm); }; actualizarHora(); var intervalo = setInterval(actualizarHora, 1000); });
</script> </body> </html>

Same problem I guess... I don't know much about it

  Also this in special where the function is called:

            <div style="width: 100%; margin-top: -15px;">
                <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button>
                <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-stack-overflow" aria-hidden="true"></i></button>
                <button class="botonMenu" style="color: #18274e; width: 33%; font-size: 20px;" onclick="Max()"><i class="fa fa-external-link" aria-hidden="true"></i></button>
            </div>
        </div>
        <ul class="mini-menu" style="margin-top: 10px;">
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-user" aria-hidden="true"></i></button></li>
            </a>                              
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-cloud" aria-hidden="true"></i></button></li>
            </a>
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-credit-card" aria-hidden="true"></i></button></li>
            </a>
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')">&nbsp;<i class="fa fa-mobile" aria-hidden="true">&nbsp;</i></button></li>
            </a>
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-clock-o" aria-hidden="true"></i></button></li>
            </a>
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Borrar()"><i class="fa fa-info-circle" aria-hidden="true"></i></button></li>
            </a>
        </ul>
        <ul class="mini-menu" style="margin-top: -15px;">
            <a href="#" onclick="window.scrollTo(0,0)">                    
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Read()"><i class="fa fa-download" aria-hidden="true"></i></button></li>
            </a>                
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" id="Leer" style="color: #18274e; font-size: 16px; width: 67%;" onclick="btnLeer()"></button></li>
            </a>
            <a href="#" onclick="window.scrollTo(0,0)">
                <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Borrar()"><i class="fa fa-times" aria-hidden="true"></i></button></li>
            </a>
        </ul>
        <textarea id="areaLeer"></textarea>
    </div>        
</div>
<marquee style="color: #6d2f30;" behavior="scroll" direction="left" scrollamount="15"
    onmouseover="this.stop();"
    onmouseout="this.start();">Caso Previo - Verificar Cx - Articulo relacionados </marquee>
<marquee  style="font-size: 14px;color: #02008b;" behavior="scroll" direction="left" scrollamount="15"
    onmouseover="this.stop();"
    onmouseout="this.start();"> Reportar - Marcar estart</marquee>

<div id="Template">
<div id="tarjetas" style="overflow-y: scroll; overflow-x:hidden; height:500px; float: center;">
<table id="tabla" class="tabla">       <tr class="buscador">                </tr>       <tr class="head">             <th class="head" style="background-color: #2f3030; color: white; height: 30px; "> <input style="color: white; width: 400px;" type="text" id="tfBuscar" class="Buscador" placeholder="Buscar..." /> </th> </tr>       <tr>             <td class="tarjeta"><button class="art boton">HT202020</button><button class="boton">IOS 17 - Verificar Cx - Articulo relacionad - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados-os- Verificar Cx - Cx - Articulo relacionados</button>             </td>       </tr> <tr>             <td class="tarjeta"><button class="boton">Manzana</button>             </td>       </tr>       <tr class="resultados">             <th><span class="resultados"></span></th>       </tr> </table> </div> <!--div style="float: right;"><img src="apple-support.png"></div--> <div id="Footer">
<div id="contenedor_reloj"> <div class="fecha"> <p id="diaSemana" class="diaSemana"></p> <p id="dia" class="dia"></p> <p id="mes" class="mes"></p> <p id="anio" class="anio"></p> </div> <div class="reloj"> <p id="horas" class="horas"></p> <p>:</p> <p id="minutos" class="minutos"></p> <p>:</p> <p id="segundos" class="segundos"></p> <p id="ampm" class="ampm"></p> </div>
</div>
</div> </div>

<script>

function Read() { LeerTexto(); } function LeerTexto() { navigator.clipboard.readText().then( clipText => document.getElementById("Leer").value = document.getElementById("Leer").innerHTML = clipText); } /document.querySelector('button').addEventListener('click', function () { val.value = this.innerHTML; }, false);/ const botones = document.querySelectorAll(".boton"); const cuandoSeHaceClick = function (evento) {       this.style.borderColor = "blue"; Pass.value = this.innerHTML;
var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); } botones.forEach(boton => {           boton.addEventListener("click", cuandoSeHaceClick); });
$(document).ready(function() { $(window).scroll(function() { if ($(this).scrollTop() < 100) { $('header').removeClass('header2'); } else { $('header').addClass('header2'); } }); });

I don't understand Jeff. The script is fine but doesn't work

#descripcion_caso .tab:hover{ border-left:1px solid #003597; border-right:1px solid #003597; } .mini-menu { margin-left: -50px; } .mini-menu li { margin-left: 9px; display: inline;       font-size: 20px;       align-items: center;       list-style: none; } </style> </head>

<body onmousedown="elemento(event);" onLoad="Inicio()">
<input type="checkbox" id="check" onClick="menuOpcion()"> <header>
<nav id="menu_full"> <ul>
<li id="logoMenu"><i class="fa fa-apple" aria-hidden="true" style="font-size: 25px;"></i></li> <a href="#" onclick="window.scrollTo(0,0)"> <li onclick="Matriz()"><i class="fa fa-laptop" aria-hidden="true"></i></li> </a>
<a href="#" onclick="window.scrollTo(0,0)">
<li onclick="Scripts()"><i class="fa fa-list" aria-hidden="true"></i></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li onclick="Casos()"><i class="fa fa-search-plus" aria-hidden="true"></i></li> </a>
<a href="#" onclick="window.scrollTo(0,0)"> <li onclick=""><i class="fa fa-th" aria-hidden="true"></i></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li onclick=""><i class="fa fa-bell-o" aria-hidden="true"></i></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li onclick="" style="background-color: #515151; color: rgb(255, 255, 255); margin-left:10px"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 13px;" onclick="Copiar('BB')">bb</button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 13px;" onclick="Copiar('SSO')">sso</button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-envelope-o" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-history" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-line-chart" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-underline" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li onclick="" style="background-color: #515151; color: rgb(255, 255, 255); margin-left:10px"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li> </a>
</ul> </nav> </header> <div id="Panel"> <div id="descripcion_caso" style="overflow-y: scroll; overflow-x:hidden; height: 400px; float: left; position: relative;"> <br><br> <div class="wrapper"> <div style="margin: 3px 0 0 65px; color:#005FE0; font-size: 12px; font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;">Quick&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;Center</div>
<div class="half"> <button id="botonX" onclick="Cerrar()">X</button>
<div class="tab"> <input id="tab-one" type="checkbox" name="tabs"> <label for="tab-one"><span class="titulo"><i class="fa fa-apple" aria-hidden="true" style="font-size: 16px;"></i>&nbsp;ID&nbsp;</span><button class="boton" style="margin: -10px 0 5px;" onclick="Copiar()">New</button><button id="PassID" class="boton" style="margin-top: -5px;" onclick="Copiar('PasswordID')">PassID</button><button class="boton" style="margin-top: -5px;" onclick="Copiar('Account Recovery')">AccRec</button></label> <div class="tab-content"> <ul id="FIS"> <li><button class="botonP" onclick="Copiar('...')">—&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;—</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button class="boton" onclick="Copiar()">Inactive</button><button class="botonP" onclick="Copiar('Migrar<br/>...')"><i class="fa fa-apple" aria-hidden="true"></i></button></li> <li><button class="boton" onclick="Copiar()">ID</button><button class="botonP" onclick="Copiar('Forgot ID step or article')"><i class="fa fa-apple" aria-hidden="true"></i></button></li>
</ul> </div>
</div> <div class="tab"> <input id="tab-two" type="checkbox" name="tabs"> <label for="tab-two"><span class="titulo">iPhone&nbsp;</span><button class="boton" style="margin: -10px 0 5px;" onclick="Copiar()">SetUp</button><button class="boton" style="margin-top: -5px;" onclick="Copiar()">Update</button><button class="boton" style="margin-top: -5px;" onclick="Copiar()">Restore</button></label> <div class="tab-content"> <ul id="iPhone"> <li><button class="botonP" onclick="Copiar('steps')">—&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;—</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button class="boton" onclick="Copiar()">Reset</button><button class="botonP" onclick="Copiar('Restore')"><i class="fa fa-apple" aria-hidden="true"></i></button></li> </ul> </div>
</div>

            </div>
        </div>
    </div>

<div style="float: left; margin: 50px 0px 0px 20px; border-color: #FFF;"> <div> <textarea type="text" id="Pass" class="botonMapa" value=""></textarea>

CSS code is as designed

#contenedor_reloj p { font-size: 12px; color: #fff;
} #contenedor_reloj p { display: inline-block; line-height: 1em; box-sizing: border-box;
} .fecha { font-family: arial; text-align: center;
width: 30%; float: left;
} .reloj { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; width: 25%; text-align: left;
float: left;
} .reloj, .ampm, .reloj, .segundos { display: block; } #contenedor {
opacity: 0.1;
float: left;               } .crono {       margin-top: 7px;               float: left; font-size: 18px; font-family: Courier, sans-serif; color: #363431;                        } #parar, #continuar, #reinicio {       display: none; }
.boton {       margin-top: 8px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 11px; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif"; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95; } .art { float: right; width: 75px; margin: -5px 0px -5px 0px; } .art:hover { background-color: #005FA5; } .botonMenu {       margin-right: -12px; outline: none; border: 1px solid #363431; color: white;
font-size: 15px; height: auto; border-radius: 0px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif"; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95; } .botonMenu rect { fill: none; stroke: #fff; stroke-width: 1; stroke-dasharray: 422, 0; } .botonMenu:hover { background: rgba(225, 51, 45, 0); letter-spacing: 0.5px;
} .botonMenu:hover rect { stroke-width: 5; stroke-dasharray: 15, 310; stroke-dashoffset: 48; -webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1); } .botonP {       margin-top: 8px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 12px; height: 25px; border-radius: 5px; font-family: Helvetica; cursor: pointer; background-color: #008BE0; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95;                       border-color: transparent; background-color: transparent; } .botonP:active { background-image: linear-gradient(#FF0004, #FF4D4F); } .botonP:hover { box-shadow: 0px 0px 10px #F01F45; }
#botonX {                outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 7px; height: 14px;       width: 170px;       margin-bottom: 2px; border-radius: 5px; font-family: Helvetica; cursor: pointer; background-image: linear-gradient(#688CF8, #2f3030); } .boton:active { background-image: linear-gradient(#2f3030, #5901B0); } .boton:hover { box-shadow: 0px 0px 14px #5E85F7; } #tarjetas {       margin-top: 20px;       display: block; } ::-webkit-input-placeholder {       color: #FFF; } ::-moz-placeholder {       color: #FFF; } .Buscador {       background: url("../img/search.png") no-repeat 9px center;       color: #000;       border: 1px solid #DDDDDD;       border-radius: 3px;       padding: 9px 10px 9px 32px;          width: 20%;       transition: 1s all ease; } .tabla, tr, th, td {       width: 100%;       max-width: 900px;       padding: 9px;       border: 1px solid #ddd;       border-collapse: collapse;       margin: 5% auto;       font-family: Helvetica; } #tabla {       position: relative; } tr.buscador, td.buscador, tr.head, th.head {       border: 0; } td.buscador {       padding: 0; } th.head {       border-bottom: 1px solid #ddd; } header {       position: fixed;       border-bottom: 3px rgba(0,0,0,0.09) inset;       background-color: #515151;       height: 55px;       z-index: 108;       width: 100%;       margin-top: -30px; } .header2 {       position: fixed;       border-bottom: 3px rgba(0,0,0,0.09) inset;       background-color: #515151;       height: 55px; margin-top: -30px;       z-index: 108;       opacity: 0.8; } textarea[type=text]{ width:100%; border:2px solid #aaa; border-radius:4px; margin:8px 0; outline:none; padding:8px; box-sizing:border-box; transition:.3s; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 12px; } textarea[type=text]:focus{ border-color:dodgerBlue; box-shadow:0 0 8px 0 dodgerBlue; } #areaLeer { display: none; } #descripcion_caso .tab{ border:1px solid transparent; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1); } #descripcion_caso .tab::before { content: ''; position: absolute; left: 0px; bottom:0px; z-index:-1; width: 0%; height:1px; background: #003597;
display: block; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1) } #descripcion_caso .tab:hover::before { width:100%; } #descripcion_caso .tab::after { content: ''; position: absolute; right: 0px; top:0px; z-index:-1; width: 0%; height:1px; background: #003597; -webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1); transition: all 0.4s cubic-bezier(.5, .24, 0, 1) } #descripcion_caso .tab:hover::after { width:100%; } #descripcion_caso .tab:hover{ border-left:1px solid #003597; border-right:1px solid #003597; }

This is other section where the query is not clear

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">    

<style> html, body { height: 100%; margin: 0;        }
.tarjeta {       background-color: #a5aaad;       color: white;
border: 2px solid #FFF;              } .tarjeta .boton { font-size: 14px; } #menu_full {       width: 100%;       margin-left: -30px;  } #Footer {
height: 30px; background: rgba(0, 0, 0, .5);
align-items: center; display: flex; justify-content: center;
} #menu_full ul {       display: flex;       font-family: sans-serif;             font-size: 12px;         align-items: center;       list-style: none;  } #menu_full li {       text-align: center;                        padding: 8px;       background-color: #6d7988;                 border: 1px solid #515151; border-radius: 1px; } #menu_full li a {       color: #515151;
} #menu_full li {       color: #ffffff;       cursor: pointer;
font-size: 12px; } #menu_full li:hover {       color: #0e32fd;       cursor: pointer;
font-size: 15px; background-color: #bad0eb;       } #menu_full #logoMenu {       background-color: #515151;     color:#ffffff; font-family:cursive; font-size: 15px;
vertical-align: middle; }
.fa-apple:hover { color: #2c57e7;      } #Panel {       margin-top: 0px;               width: 100%; }
marquee { background-color: #E6EBFF; padding: 5px; color: blue; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; font-size: 22px; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 }                        #Template { box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.09) inset;               width: 100%; min-height: 85%;                 }
#resultado { float: left; margin-left: 5px; font-size: 2em; color: #464646a4; font-weight: bold; background-color: #92CFF5; padding: 14px 10px; display: none; }
#descripcion_caso::-webkit-scrollbar {       width: 12px;       background-color: #F5F5F5; } #descripcion_caso::-webkit-scrollbar-thumb {       border-radius: 10px;       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);       background-color: #555; }            #tarjetas::-webkit-scrollbar-track {       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);       border-radius: 10px;       background-color: #a5aaad; } #tarjetas::-webkit-scrollbar {       width: 12px;       background-color: #a5aaad; } #tarjetas::-webkit-scrollbar-thumb {       border-radius: 10px;       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);       background-color: #a5aaad; } .col::-webkit-scrollbar-track {       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);       border-radius: 10px;       background-color: #F5F5F5; } .col::-webkit-scrollbar {       width: 12px;       background-color: #F5F5F5; } .col::-webkit-scrollbar-thumb {       border-radius: 10px;       -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);       background-color: #555; } #descripcion_caso { display: block;
margin-top: 40px;
height: 100%; border-radius: 5px; } #descripcion_caso input[type="Text"] {
width: 100px; }
#descripcion_caso .seleccion { border: 3px solid #008be0; background-color: #008be0; color: white; font-size: 10px; height: 35px; } #descripcion_caso ul li button {       font-size: 12px; }
#descripcion_caso .wrapper { margin-top: -40px; margin-left: -6px; float: left; }
#descripcion_caso h1 { text-align: center; }
#descripcion_caso .half { float: left; width: 50%; padding: 0 1em; } #descripcion_caso .tab { position: relative; margin-bottom: 1px; width: 195px; margin-left: -9px; color: #fff; overflow: hidden; }
#descripcion_caso input { position: absolute; opacity: 0; z-index: -1; }
#descripcion_caso label { position: relative; display: block; padding: ‪0 0 0 0.25‬em; font-weight: bold; line-height: 2.3;       font-size: 14px;
cursor: pointer; border-width: 2px; border-style: solid;
border-radius: 0.2em; font-family: "Booster Next FY", "Avenir Next", Avenir, sans-serif; user-select: none; overflow: hidden; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);                      background-color: #2f3030; color: #E6EAEF; border-color: #005FA5; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%);       opacity: 0.95;                 }
.titulo {       font-size: 11px; } #form2 { visibility: hidden;        }
#descripcion_caso .tab-content { max-height: 0; overflow: hidden;                background: #18274e;     /*#AB58FE;#005FA5; */ -webkit-transition: max-height .35s; -o-transition: max-height .35s; transition: max-height .35s; } #descripcion_caso .tab-content p { margin: 1em; } #descripcion_caso input:checked~.tab-content { max-height: 40em; font-size: 0.3em; } #descripcion_caso input:checked~.tab-content ul { list-style: none; padding: 0; margin-left: 20px; } #descripcion_caso label::after { position: absolute; right: -5px; top: 0; display: block; width: 3em; height: 2em; line-height: 2.3;
text-align: center; -webkit-transition: all .35s; -o-transition: all .35s; transition: all .35s; } #descripcion_caso input[type=checkbox]+label::after { content: "+"; } #descripcion_caso input[type=radio]+label::after { content: "\25BC"; } #descripcion_caso input[type=checkbox]:checked+label::after { transform: rotate(315deg); } #descripcion_caso input[type=radio]:checked+label::after { transform: rotateX(180deg); } #descripcion_caso .codigo { display: none; }

#descripcion_caso .boton {       border-color: transparent; background-color: transparent; color: white; cursor: pointer; } #descripcion_caso .botonExt {       margin-top: -10px; } #Pass { height: 300px; width: 200px; background-color: rgb(71, 71, 51); color: #FFF;
} #contenedor_reloj { width: 100%; height: 100%;
}

And finally the header. Something is wrong and the issue is similar

<!doctype html> <html><head> <meta http-equiv="X-UA-Compatible" content="IE=11"><meta charset="utf-8"> <script type="text/javascript" ></script> <script type="text/javascript" ></script>
<link href="imagenes/icono.jpg" rel="shortcut icon" type="image/png">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.5/css/swiper.css" />
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">

This is the new version

<!doctype html>

<html><head>

    <meta http-equiv="X-UA-Compatible" content="ie=edge"><meta charset="utf-8">    

    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1">

    <link href="imagenes/icono.jpg" rel="shortcut icon" type="image/png">

    <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">

   

<style>

html, body {

            height: 100%;

            margin: 0;

}

#header {

    position: fixed;

    border-bottom: 3px rgba(0,0,0,0.09) inset;

    background-color: #515151;

    height: 55px;

    z-index: 108;

    width: 100%;

    margin-top: -30px;

}

#menu_full {

    width: 100%;    

    margin-left: -30px;

}

#menu_full ul {

    display: flex;

    font-family: sans-serif;    

    font-size: 12px;    

    align-items: center;

    list-style: none;  

}

#menu_full li {

    text-align: center;        

    padding: 8px;

    background-color: #6d7988;      

    border: 1px solid #515151;

    border-radius: 1px;

}

#menu_full li a {

    color: #515151;    

}

#menu_full li  {

    color: #ffffff;

    cursor: pointer;  

    font-size: 12px;

}

#menu_full li:hover  {

    color: #0e32fd;

    cursor: pointer;  

    font-size: 15px;

    background-color: #bad0eb;  

}

#menu_full #logoMenu {

    background-color: #515151;  

    color:#ffffff;

    font-family:cursive;

    font-size: 15px;  

    vertical-align: middle;

}          

.fa-apple:hover {

    color: #2c57e7;

}

#Panel {

    margin-top: 0px;        

    width: 100%;

}                      

marquee {

    background-color: #E6EBFF;

    padding: 5px;

    color: blue;

    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    font-weight: bold;

    font-size: 22px;

}              

#Template {

    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.09) inset;                              

    width: 100%;

    min-height: 85%;            

}

#Footer {    

    height: 30px;

    background: rgba(0, 0, 0, .5);  

    align-items: center;

    display: flex;

    justify-content: center;    

}

#tarjetas::-webkit-scrollbar-track {

    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);

    border-radius: 10px;

    background-color: #a5aaad;

}

#tarjetas::-webkit-scrollbar {

    width: 12px;

    background-color: #a5aaad;

}

#tarjetas::-webkit-scrollbar-thumb {

    border-radius: 10px;

    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);

    background-color: #a5aaad;

}

.titulo {

    font-size: 11px;

}

#Pass {

    height: 300px;

    width: 200px;

    background-color: rgb(71, 71, 51);

    color: #FFF;          

}

#areaLeer {

    display: none;

}

textarea[type=text]{

    width:100%;

    border:2px solid #aaa;

    border-radius:4px;

    margin:8px 0;

    outline:none;

    padding:8px;

    box-sizing:border-box;

    transition:.3s;

    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    font-size: 12px;

}

textarea[type=text]:focus{

    border-color:dodgerBlue;

    box-shadow:0 0 8px 0 dodgerBlue;

}

.mini-menu {

    margin-left: -50px;

}

.mini-menu li {

    margin-left: 9px;

    display: inline;

    font-size: 20px;

    align-items: center;

    list-style: none;

}

.boton {

    margin-top: 8px;

    outline: none;

    border: 1px solid #363431;

    color: white;

    text-shadow: 0px -1px 1px black;

    font-size: 11px;

    height: auto;

    border-radius: 5px;

    font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif";

    cursor: pointer;

    background-color: #2f3030;

    color: #E6EAEF;

    border-color: #0939c8;

    border-bottom-color: #072ea1;

    box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);

    opacity: 0.95;

}

.art {

    float: right;

    width: 75px;

    margin: -5px 0px -5px 0px;

}

.art:hover {

    background-color: #005FA5;

}

.botonMenu {

    margin-right: -12px;

    outline: none;

    border: 1px solid #363431;

    color: white;            

    font-size: 15px;

    height: auto;

    border-radius: 0px;

    font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif";

    cursor: pointer;

    background-color: #2f3030;

    color: #E6EAEF;

    border-color: #0939c8;

    border-bottom-color: #072ea1;

    box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);

    opacity: 0.95;

}

.botonMenu rect {

    fill: none;

    stroke: #fff;

    stroke-width: 1;

    stroke-dasharray: 422, 0;

}

.botonMenu:hover {

    background: rgba(225, 51, 45, 0);

    letter-spacing: 0.5px;  

}

.botonMenu:hover rect {

    stroke-width: 5;

    stroke-dasharray: 15, 310;

    stroke-dashoffset: 48;

    -webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);

            transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);

}

#Leer:hover {

  background-color: rgb(17, 17, 224);

}

.btnLeer:hover {

    color:#005FA5;

}

.botonP:hover {

    box-shadow: 0px 0px 10px #F01F45;

}        

#botonX {          

    outline: none;

    border: 1px solid #363431;

    color: white;

    text-shadow: 0px -1px 1px black;

    font-size: 7px;

    height: 14px;

    width: 170px;

    margin-bottom: 2px;

    border-radius: 5px;

    font-family: Helvetica;

    cursor: pointer;

    background-image: linear-gradient(#688CF8, #2f3030);

}

.boton:active {

    background-image: linear-gradient(#2f3030, #5901B0);

}

.boton:hover {

    box-shadow: 0px 0px 14px #5E85F7;

} ::-webkit-input-placeholder {

    color: #FFF;

}

::-moz-placeholder {

    color: #FFF;

}

.Buscador {

    background: url("../img/search.png") no-repeat 9px center;

    color: #000;

    border: 1px solid #DDDDDD;

    border-radius: 3px;

    padding: 9px 10px 9px 32px;

    width: 20%;

    transition: 1s all ease;

}

.filtro{

        display: none;

    }

.tarjeta {

    background-color: #a5aaad;

    color: white;

    border: 2px solid #FFF;

    padding: 20px; }

.tarjeta .boton {

    font-size: 14px;

}    

.busca {

    width: 100%;

    max-width: 900px;

    padding: 12px;  

    border: 1px solid #ddd;

    border-collapse: collapse;

    margin: 5% auto;

    font-family: Helvetica;

}

</style>

Here the other part

head>

<body onmousedown="elemento(event);" onLoad="Inicio()">    

    <input type="checkbox" id="check" onClick="menuOpcion()">

    <header id="header">                

    <nav id="menu_full">

        <ul>    

            <li id="logoMenu"><i class="fa fa-apple" aria-hidden="true" style="font-size: 25px;"></i></li>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick="Matriz()"><i class="fa fa-laptop" aria-hidden="true"></i></li>

            </a>              

            <a href="#" onclick="window.scrollTo(0,0)">                  

                <li onclick="Scripts()"><i class="fa fa-list" aria-hidden="true"></i></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick="Casos()"><i class="fa fa-search-plus" aria-hidden="true"></i></li>

            </a>                          

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick=""><i class="fa fa-th" aria-hidden="true"></i></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick=""><i class="fa fa-bell-o" aria-hidden="true"></i></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick="" style="background-color: #515151; color: rgb(255, 255, 255); margin-left:10px"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 13px;" onclick="Copiar('BB')">bb</button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 13px;" onclick="Copiar('SSO')">sso</button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-envelope-o" aria-hidden="true"></i></button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-history" aria-hidden="true"></i></button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-line-chart" aria-hidden="true"></i></button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li style="background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')"><i class="fa fa-underline" aria-hidden="true"></i></button></li>

            </a>

            <a href="#" onclick="window.scrollTo(0,0)">

                <li onclick="" style="background-color: #515151; color: rgb(255, 255, 255); margin-left:10px"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li>

            </a>    

        </ul>

    </nav>

    </header>

    <div id="Panel">

        <div id="descripcion_caso" style="overflow-y: scroll; overflow-x:hidden; height: 400px; float: left; position: relative;">

            <br><br>

            <div class="wrapper">

                <div style="margin: 3px 0 0 65px; color:#005FE0; font-size: 12px; font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;">Quick&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;Center</div>          

                <div class="half">

                   <button id="botonX" onclick="Cerrar()">X</button>    

                    <div class="tab">

                        <input id="tab-one" type="checkbox" name="tabs">

                        <label for="tab-one"><span class="titulo"><i class="fa fa-apple" aria-hidden="true" style="font-size: 16px;"></i>&nbsp;ID&nbsp;</span><button class="boton" style="margin: -10px 0 5px;" onclick="Copiar()">New</button><button id="PassID" class="boton" style="margin-top: -5px;" onclick="Copiar('PasswordID')">PassID</button><button class="boton" style="margin-top: -5px;" onclick="Copiar('Account Recovery')">AccRec</button></label>

                        <div class="tab-content">

                            <ul id="FIS">

                                <li><button class="botonP" onclick="Copiar('...')">—&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;—</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button class="boton" onclick="Copiar()">Inactive</button><button class="botonP" onclick="Copiar('Migrar<br/>...')"><i class="fa fa-apple" aria-hidden="true"></i></button></li>

                                <li><button class="boton" onclick="Copiar()">ID</button><button class="botonP" onclick="Copiar('Forgot ID step or article')"><i class="fa fa-apple" aria-hidden="true"></i></button></li>                                                            

                            </ul>

                        </div>      

                    </div>

                    <div class="tab">

                        <input id="tab-two" type="checkbox" name="tabs">

                        <label for="tab-two"><span class="titulo">iPhone&nbsp;</span><button class="boton" style="margin: -10px 0 5px;" onclick="Copiar()">SetUp</button><button class="boton" style="margin-top: -5px;" onclick="Copiar()">Update</button><button class="boton" style="margin-top: -5px;" onclick="Copiar()">Restore</button></label>

                        <div class="tab-content">

                            <ul id="iPhone">

                                <li><button class="botonP" onclick="Copiar('steps')">—&nbsp;<i class="fa fa-apple" aria-hidden="true"></i>&nbsp;—</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button class="boton" onclick="Copiar()">Reset</button><button class="botonP" onclick="Copiar('Restore')"><i class="fa fa-apple" aria-hidden="true"></i></button></li>

                            </ul>

                        </div>    

                    </div>

                </div>

            </div>

        </div>

        <div style="float: left; margin: 50px 0px 0px 20px; border-color: #FFF;">

            <div>

                <textarea type="text" id="Pass" value=""></textarea>            

                <div style="width: 100%; margin-top: -15px;">

                    <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button>

Css is not working. Why?

<div style="float: left; margin: 50px 0px 0px 20px; border-color: #FFF;"> <div> <textarea type="text" id="Pass" value=""></textarea>
<div style="width: 100%; margin-top: -15px;"> <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button> <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 33%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-stack-overflow" aria-hidden="true"></i></button> <button class="botonMenu" style="color: #18274e; width: 33%; font-size: 20px;" onclick="Max()"><i class="fa fa-external-link" aria-hidden="true"></i></button> </div> </div> <ul class="mini-menu" style="margin-top: 10px;"> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-user" aria-hidden="true"></i></button></li> </a>
<a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')">&#9729;</button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-credit-card" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')">&nbsp;<i class="fa fa-mobile" aria-hidden="true">&nbsp;</i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Copiar('SSO')"><i class="fa fa-clock-o" aria-hidden="true"></i></button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 20px;" onclick="Borrar()"><i class="fa fa-info-circle" aria-hidden="true"></i></button></li> </a> </ul> <ul class="mini-menu" style="margin-top: -15px;"> <a href="#" onclick="window.scrollTo(0,0)">
<li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Read()"><i class="fa fa-download" aria-hidden="true"></i></button></li> </a>
<a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" id="Leer" style="color: #ece6e6; font-size: 18px; width: 67%;" onclick="btnLeer()">_</button></li> </a> <a href="#" onclick="window.scrollTo(0,0)"> <li style="background-color: #FFF;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 14%;" onclick="Borrar()"><i class="fa fa-times" aria-hidden="true"></i></button></li> </a> </ul> <textarea id="areaLeer"></textarea> </div>
</div> <marquee style="color: #6d2f30;" behavior="scroll" direction="left" scrollamount="15" onmouseover="this.stop();" onmouseout="this.start();">Caso Previo - Verificar Cx - Articulo relacionados </marquee> <marquee style="font-size: 14px;color: #02008b;" behavior="scroll" direction="left" scrollamount="15" onmouseover="this.stop();" onmouseout="this.start();"> Reportar - Marcar estart</marquee> <div id="Template"> <div id="tarjetas" style="overflow-y: scroll; overflow-x:hidden; height:500px; float: center;">
<div class="busca" style="background-color: #2f3030; color: white; height: 30px;"> <input style="display: block; margin : 0 auto; color: white; width: 400px;" type="text" id="buscador" class="Buscador" placeholder="Buscar..." /> </div> <ul style="margin:0; padding:0; list-style: none;"> <li class="tarjeta"><button class="art boton">HT202020</button><button class="boton">IOS 17 - Verificar Cx - Articulo relacionad - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo </button></li> <li class="tarjeta"><button class="art boton">HT202020</button><button class="boton">Icuatro cinco seis</button></li> <li class="tarjeta"><button class="art boton">HT202020</button><button class="boton">IOS siete ocho neuves</button></li> <li class="tarjeta"><button class="art boton">HT202020</button><button class="boton">IIOS 17 - Verificar Cx - Articulo relacionad - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo iez</button></li> <li class="articulo">&#8986;</li> </ul> </div> <!--div style="float: right;"><img src="apple-support.png"></div--> <div id="Footer">
<div id="Externo"> <div class="Uno">
</div> <div class="Dos">
</div>
</div>
</div> </div>

function Focus(){ document.getElementById("buscador").focus(); } Focus(); let containingElement = document.querySelector('#Template'); document.body.addEventListener('click', function( event ){ if( containingElement.contains( event.target ) ){ Focus(); } else { } }); h2 { /* WebKit */ -webkit-appearance: button !important;

        /* Mozilla */
        -moz-appearance

Nothing is working. Javascript is having issues as well. Please check this...

<script> document.addEventListener("keyup", e=>{
if (e.target.matches("#buscador")){
if (e.key ==="Escape")e.target.value = ""
document.querySelectorAll(".tarjeta").forEach(tarjeta =>{
tarjeta.textContent.toLowerCase().includes(e.target.value.toLowerCase()) ?tarjeta.classList.remove("filtro") :tarjeta.classList.add("filtro") })
}
})

function Read() {
navigator.clipboard.readText().then( clipText => document.getElementById("Leer").value = clipText); navigator.clipboard.readText().then( clipText => document.getElementById("Leer").innerHTML = clipText.substring(0, 12)); }

const botones = document.querySelectorAll(".boton"); const cuandoSeHaceClick = function (evento) { this.style.borderColor = "blue"; Pass.value = this.innerHTML;
var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); } botones.forEach(boton => {
boton.addEventListener("click", cuandoSeHaceClick); });

document.addEventListener("scroll", function() { if (window.pageYOffset > 100) document.getElementById("header").style.opacity = "0.5";

if (window.pageYOffset < 100) document.getElementById("header").style.opacity = "1"; });

function Copiar(pass) { document.getElementById('Pass').value = pass; var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); }

function btnCopiar() { var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; $(window).scrollTop(0); }

function btnLeer() {
document.getElementById("areaLeer").style.display = 'block'; document.getElementById("areaLeer").value = document.getElementById("Leer").value; var copyText = document.getElementById("areaLeer"); copyText.select(); document.execCommand("copy"); document.getElementById("areaLeer").style.display = 'none'; document.getElementById("Pass").value = document.getElementById("Leer").value; }

function Max() {
if (document.getElementById('Pass').style.height == '300px') { document.getElementById('descripcion_caso').style.display = 'none'; document.getElementById("Pass").style.height = "500px"; document.getElementById("Pass").style.width = "400px"; } else { document.getElementById('descripcion_caso').style.display = 'block'; document.getElementById("Pass").style.height = "300px"; document.getElementById("Pass").style.width = "200px"; var copyText = document.getElementById("Pass"); copyText.select(); document.execCommand("copy"); document.getElementById('Pass').blur(); $(window).scrollTop(0);
} }

function Cerrar() { document.getElementById("tab-one").checked=false; document.getElementById("tab-two").checked=false; document.getElementById("tab-three").checked=false; document.getElementById("tab-four").checked=false; document.getElementById("tab-five").checked=false; document.getElementById("tab-six").checked=false; document.getElementById("tab-seven").checked=false; document.getElementById("tab-eight").checked=false; document.getElementById("tab-nine").checked=false; document.getElementById("tab-ten").checked=false; document.getElementById("tab-eleven").checked=false;
}

function Borrar() { document.getElementById("Pass").value = ''; }

</script> </body> </html>

Hi apparently it works doing this : please try it

<body onmousedown="elemento(event);" onload="Inicio()" height: 100%; style="height:100%; margin: 0;">

<input

type="checkbox" id="check" onClick="menuOpcion()">

<header

id="header" style="position: fixed; border-bottom: 3px rgba(0,0,0,0.09) inset; background-color: #515151; height: 55px; z-index: 108; width: 100%; margin-top: -30px;">

<nav

id="menu_full" style="width: 100%; margin-left: -35px;">

    <ul

style="display: flex; font-family: sans-serif; font-size: 12px; align-items: center; list-style: none;">

        <li

id="logoMenu" style="background-color: #515151; color:#ffffff; font-family:cursive; font-size: 15px; vertical-align: middle; padding: 8px;"><i class="fa fa-apple" aria-hidden="true" style="font-size: 25px;" onmouseover="this.style.color='#2c57e7';" onmouseout="this.style.color='gray';"></i></li>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

onclick="Matriz()" style="text-align: center; padding: 5px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 18px;"><i class="fa fa-user" aria-hidden="true"></i></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

onclick="Casos()" style="text-align: center; padding: 5px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 18px;"><i class="fa fa-search-plus" aria-hidden="true"></i></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

onclick="" style="text-align: center; padding: 5px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 18px;" onclick="Borrar()"><i class="fa fa-info-circle" aria-hidden="true"></i></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

onclick="" style="text-align: center; padding: 4px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151; color: rgb(255, 255, 255); margin-left:10px;"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li>

        </a>        


        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 18px;" onclick="Copiar('SSO')"><i class="fa fa-envelope-o" aria-hidden="true"></i></button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 18px;" onclick="Copiar('SSO')"><i class="fa fa-history" aria-hidden="true"></i></button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 18px;" onclick="Copiar('SSO')">&#9202;</button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 18px;" onclick="Copiar('SSO')"><i class="fa fa-line-chart" aria-hidden="true"></i></button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255); font-size: 18px;" onclick="Copiar('SSO')"><i class="fa fa-underline" aria-hidden="true"></i></button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

onclick="" style="text-align: center; padding: 4px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151; color: rgb(255, 255, 255); margin-left:10px"><i class="fa fa-ellipsis-v" aria-hidden="true"></i></li>

        </a>  

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')">&#9729;</button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')">&#128179;</button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')">&#128241;</button></li>

        </a>

        <a

href="#" onclick="window.scrollTo(0,0)">

            <li

style="text-align: center; padding: 8px; background-color: #6d7988; border: 1px solid #515151; border-radius: 1px; color: #ffffff; cursor: pointer; font-size: 12px; background-color: #515151;"><button class="botonMenu" style="color: rgb(255, 255, 255);" onclick="Copiar('SSO')">&#8986;</button></li>

        </a>

    </ul>

</nav>

</header>

<div

id="Top" style="margin-top: 0px; width: 100%; ">

    <div

id="descripcion_caso" style="overflow-y: scroll; overflow-x:hidden; height: 400px; float: left; position: relative; padding-top: 50px; scrollbar-color: #818181 #818181; scrollbar-width: thin;">

        <div

style="position: fixed; z-index: 1000;">

This is the other part. It seems it is not working with embedded css

            <button

id="btnStack" class="botonMenu" style="color: #18274e; background-color: #515151; width: 250px; height: 50px; font-size: 20px;" onmouseover="this.style.backgroundColor='#FFF';" onmouseout="this.style.backgroundColor='#515151';" onclick="btnStack()"><i class="fa fa-stack-overflow" aria-hidden="true"></i></button>

        </div>

        <textarea

type="text" id="Stack" value="" style="height: 1000px; width: 250px; background-color: rgb(71, 71, 51); color: #FFF; border:2px solid #aaa; border-radius:4px; margin:40px 0 0 0; outline:none; padding:8px; box-sizing:border-box; transition:.3s; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 12px;"></textarea>

    </div>

    <div

id="Panel" style="float: left; margin: 50px 0px 0px 20px; border-color: #FFF;">

        <div>

            <textarea

type="text" id="Pass" value="" style="height: 300px; width: 200px; background-color: rgb(71, 71, 51); color: #FFF; border:2px solid #aaa; border-radius:4px; margin:8px 0; outline:none; padding:8px; box-sizing:border-box; transition:.3s; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 12px;"></textarea>

            <div

style="margin-top: -30px; margin-left: 43%;"><button class="botonMenu" style="color: #18274e; font-size: 15px; width: 25%; border-radius: 7px; background-color: #f5675d;" onclick="Borrar()">.</button></div>

            <div

style="width: 100%; margin-top: -10px; background-color: #2f3030;">

                <button

id="btnCopiar" class="botonMenu" style="color: #18274e; width:50%; margin-right: -4px; font-size: 20px;" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button>

                <button

class="botonMenu" style="color: #18274e; width: 50%; font-size: 20px; float: right; margin-right: 1px;" onclick="Max()"><i class="fa fa-external-link" aria-hidden="true"></i></button>

            </div>

        </div>      
  

        <ul

class="mini-menu" style="margin-top: 15px; margin-left: -50px;">

            <a

href="#" onclick="window.scrollTo(0,0)">

                <li

style="background-color: #FFF; margin-left: 9px; display: inline; font-size: 16px; align-items: center; list-style: none;"><button class="botonMenu" style="color: #18274e; font-size: 16px; width: 25%;" onclick="Read()"><i class="fa fa-download" aria-hidden="true"></i></button></li>

            </a>    
        

            <a

href="#" onclick="window.scrollTo(0,0)">

                <li

style="background-color: #FFF; margin-left: 9px; display: inline; font-size: 16px; align-items: center; list-style: none;"><button class="botonMenu" id="Leer" style="color: #ece6e6; font-size: 18px; width: 75%;" onmouseover="this.style.backgroundColor='#005FA5';" onmouseout="this.style.backgroundColor='#2f3030';" onclick="btnLeer()">_</button></li>

            </a>

            

        </ul>

        <textarea

id="areaLeer" style="display: none;"></textarea>

    </div>          

</div>

<marquee

style="color: #1a0d0d; background-color: #E6EBFF; padding: 5px; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-weight: bold; font-size: 24px;" behavior="scroll" direction="left" scrollamount="15"

    onmouseover="this.stop();"

    onmouseout="this.start();">Caso

Previo - Verificar Cx - Articulo relacionados </marquee>

<div id="Bottom" style="box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.09) inset; width: 100%; min-height: 85%;">

<div

id="tarjetas" style="overflow-y: scroll; overflow-x:hidden; height:500px; float: center; scrollbar-color: #818181 #818181; scrollbar-width: thin;">

    <div

class="busca" style="background-color: #2f3030; color: white; width: 100%; height: 30px; max-width: 900px; padding: 12px; border: 1px solid #ddd; border-collapse: collapse; margin: 5% auto; font-family: Helvetica;">

        <input

style="display: block; margin : 0 auto; color: rgb(36, 36, 36); width: 400px; border: 1px solid #DDDDDD; border-radius: 3px; padding: 9px 12px 9px 12px; transition: 1s all ease;" type="text" id="buscador" class="Buscador" placeholder="Buscar..." />

    </div>        

    <ul

style="margin:0; padding:0; list-style: none;">

        <li

class="tarjeta" style="background-color: #a5aaad; color: white; border: 2px solid #FFF; padding: 20px;" onmouseover="this.style.borderColor='black';" onmouseout="this.style.borderColor='silver';"><button class="boton" style="font-size: 14px; margin-top: 8px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 11px; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%); opacity: 0.95;" onmouseover="this.style.borderColor='blue';" onmouseout="this.style.borderColor='#0939c8';">IOS 17 - Verificar Cx - Articulo relacion</button><button class="art boton" style="float: right; width: 75px; margin: -5px 0px -5px 0px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 11px; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(‪255 255 255‬ / 90%) inset, 0 40px 20px -20px rgb(‪255 255 255‬ / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(‪31 84 245‬ / 20%); opacity: 0.95;" onmouseover="this.style.backgroundColor='blue';" onmouseout="this.style.backgroundColor='#2f3030';">HT202020</button></li>

    </ul>

</div>

<!--div style="float: right;"><img src="apple-support.png"></div-->

<div id="Footer" style="height: 30px; background: rgba(0, 0, 0, .5); align-items: center; display: flex; justify-content: center;">

<div

id="Externo">

        <div

class="Uno">

        </div>

        <div

class="Dos">

        </div>    

</div>  

</div>

</div>

Please look this...some CSS that fix these issues:

background-color: #515151; color:#ffffff; font-size: 15px; vertical-align: middle; padding: 8px;logo 3foll "padding: 5px; background-color: #6d7988; border: 1px solid #515151; color: #ffffff; cursor: pointer; font-size: 18px; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);">

style="padding: 4px; color: #ffffff; font-size: 12px; margin-left:10px" elip 9foll style="padding: 8px;"><button class="botonMenu" style="margin-right: -12px; outline: none; border: 1px solid #0939c8; color: white; font-size: 15px; height: auto; cursor: pointer; background-color: #2f3030; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);" onmouseover="this.style.color='blue'; this.style.fontSize='17px'" onmouseout="this.style.color='white'; this.style.fontSize='15px'"

<li class="tarjeta" style="background-color: #a5aaad; color: white; border: 2px solid #FFF; padding: 20px;" onmouseover="this.style.borderColor='black';" onmouseout="this.style.borderColor='silver';"><button class="boton" style="font-size: 13px; margin-top: 8px; outline: none; color: white; text-shadow: 0px -1px 1px black; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; border: 1px solid #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);" onmouseover="this.style.borderColor='blue';" onmouseout="this.style.borderColor='#0939c8';">IOS 17 - Verificar Cx - Articulo relacionad - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo relacionados- - Verificar Cx - Articulo</button><button class="art boton" style="float: right; width: 75px; margin: -5px 0px -5px 0px; outline: none; border: 1px solid #363431; color: white; text-shadow: 0px -1px 1px black; font-size: 11px; height: auto; border-radius: 5px; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; color: #E6EAEF; border-color: #0939c8; border-bottom-color: #072ea1; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%); opacity: 0.95;" onmouseover="this.style.backgroundColor='blue';" onmouseout="this.style.backgroundColor='#2f3030';">HT202020</button></li>

<div style="margin-top: -25px; margin-left: 43%;"><button class="botonMenu" style="color: #18274e; font-size: 15px; width: 25%; border-top-left-radius: 7px; border-top-right-radius: 7px; background-color: #f5675d; outline: none; border: 1px solid #0939c8; height: auto; cursor: pointer; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);" onclick="Borrar()">.</button></div> <div style="width: 100%; margin-top: -10px;"> <button id="btnCopiar" class="botonMenu" style="color: #18274e; width: 50%; margin-right: -4px; font-size: 20px; outline: none; border: 1px solid #0939c8; height: auto; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);" onmouseover="this.style.backgroundColor='#515151';" onmouseout="this.style.backgroundColor='#2f3030';" onclick="btnCopiar()"><i class="fa fa-clone" aria-hidden="true"></i></button> <button class="botonMenu" style="color: #18274e; width: 50%; font-size: 20px; outline: none; border: 1px solid #0939c8; height: auto; font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif; cursor: pointer; background-color: #2f3030; box-shadow: 0 1px 1px -1px rgb(255 255 255 / 90%) inset, 0 40px 20px -20px rgb(255 255 255 / 15%) inset, 0 -1px 1px -1px rgb(0 0 0 / 70%) inset, 0 -40px 20px -20px rgb(0 0 0 / 6%) inset, 0 9px 8px -4px rgb(0 0 0 / 40%), 0 2px 1px -1px rgb(0 0 0 / 30%), 7px 7px 8px -4px rgb(0 0 0 / 10%), -7px 7px 8px -4px rgb(0 0 0 / 10%), 0 -4px 12px 2px rgb(31 84 245 / 20%);" onmouseover="this.style.backgroundColor='#515151';" onmouseout="this.style.backgroundColor='#2f3030';" onclick="Max()"><i class="fa fa-external-link" aria-hidden="true"></i></button> </div> document.addEventListener("scroll", function() { if (window.pageYOffset > 350) document.getElementById("btnStack").style.width = "30px";

if (window.pageYOffset < 350) document.getElementById("btnStack").style.width = "250px"; });

function Read() {
navigator.clipboard.readText().then( clipText => document.getElementById("Leer").value = clipText); navigator.clipboard.readText().then( clipText => document.getElementById("Stack").value = clipText + "\n" + "\n" + document.getElementById("Stack").value); navigator.clipboard.readText().then( clipText => document.getElementById("Leer").innerHTML = clipText.substring(0, 12));
} function btnStack() { navigator.clipboard.readText().then( clipText => document.getElementById("Stack").value = clipText + "\n" + "\n" + document.getElementById("Stack").value);
} 25%...margin-right: -12px; outline: none; border: 1px solid #0939c8; height: auto; cursor: pointer; background-color: #2f3030...box shadow onclick 75%... same

const onClick = evt => { const link = document.querySelector('a'); const range = document.createRange(); range.selectNode(link); const selection = window.getSelection(); selection.removeAllRanges(); selection.addRange(range);

const successful = document.execCommand('copy'); };

document.querySelector('button').addEventListener('click', onClick); This is an <a href="https://example.com%22%3EExample%3C/a>.

<button>Copy</button>

I recommend you try with this code to get both the link and text copied to clipboard and let me know the results

const onClick = evt => { let text = "Text to be converted to a link."; let url = "hola puede ir a https://google.com" + "\n\n" + "https://www.apple.com"; let element = document.getElementById("my-element");

element.innerHTML = `<a href="${url}">${text}</a>`; 
let varName = document.getElementById("links").value;

content.innerHTML = varName;
element.innerHTML = varName + url;
navigator.clipboard.writeText(element.innerHTML);
 
}
document.querySelector('#links').addEventListener('click', onClick);

Please try this and let me know

DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content=""> <meta name="description" content=""> </head> <body> <button id="link">!<a href="#">....</a>
</button> <textarea type="text" id="Pass" class="botonMapa" value=""></textarea> <div id="Template">
<div id="tarjetas" style="overflow-y: scroll; overflow-x:hidden; height:500px; float: center;">
<table id="tabla" class="tabla"> <tr class="buscador"> </tr> <tr class="head"> <th class="head" style="background-color: #2f3030; color: white; height: 30px; "> <input style="color: white; width: 400px;" type="text" id="tfBuscar" class="Buscador" placeholder="Buscar..." /> </th> </tr> <tr> <td class="tarjeta"><button class="art bdoton">HT202020</button><button class="boton"><a id="melement" value="hola" href="#" target="_blank">Google link</a>IOS 17 - Verificar Cx - Articulo <a id="melement" value="hola" href="#" target="_blank">YT</a></button> </td> </tr> <tr> <td class="tarjeta"><button value="apple..." id="apel" class="boton">Manzana<a id="myelement" href="#" target="_blank">A ple</a></button> </td> </tr> <tr class="resultados"> <th><span class="resultados"></span></th> </tr> </table> </div> </div> <script> const botones = document.querySelectorAll(".boton"); const cuandoSeHaceClick = function (evento) { let urrl = this.querySelector('a').href; const texto = this.querySelector('a').innerHTML; document.getElementById("link").innerHTML = <a href="${urrl}">${texto}</a>;

//const link = this.querySelector('a'); -only selector a-
const link = this;
const range = document.createRange();
range.selectNode(link);
const selection = window.getSelection();	
selection.removeAllRanges();
selection.addRange(range);
const successful = document.execCommand('copy');	
Pass.value = this.value;		
navigator.clipboard.write([clipboardItem]);
this.style.borderColor = "blue";		
} 
botones.forEach(boton => {
boton.addEventListener("click", cuandoSeHaceClick);
});  	
</script>     

</body> </html>

<!DOCTYPE html> <html> <head> <title>Cargar lista desde tabla</title> <style> .tabla { border-collapse: collapse; width: 100%; }
.tabla td { border: 1px solid #ddd; padding: 8px; }
.lista ul { list-style-type: none; /* Quitar viñetas / padding: 0; / Eliminar padding por defecto */ } .lista li { margin: 0; }
#output { display: none; } </style> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <input type="file" id="csvFile" accept=".csv"> <div id="output"></div>

<!--table class="tabla"> <tr> <td>Item 1</td> </tr>
</table-->

<div class="lista"> <ul></ul> </div> <script> document.getElementById('csvFile').addEventListener('change', function(event) { const file = event.target.files[0]; if (file) { const reader = new FileReader(); reader.onload = function(e) { const csvData = e.target.result; processCSV(csvData); }; reader.readAsText(file); } });

function processCSV(csv) { const lines = csv.split('\n'); let tableHTML = '<table id="tabla">'; for (const line of lines) { const values = line.split(','); tableHTML += '<tr>'; for (const value of values) { tableHTML += <td>${value}</td>; } tableHTML += '</tr>'; } tableHTML += '</table>'; document.getElementById('output').innerHTML = tableHTML;

const tabla = document.querySelector('#tabla');    
const lista = document.querySelector('.lista ul');
const rows = tabla.querySelectorAll('tr');
//var lv = document.getElementById("tabla").rows[0].cells[0].innerHTML;
//document.getElementById("ola").innerHTML = lv;
let html = "";
rows.forEach(row => {
  const cellText = row.querySelector('td').textContent.trim();
    if (cellText) {
      html += `<li>"" + ${cellText} + "ola"</li>`;
    }
});

if (html) {
  lista.innerHTML = html;
} else {
  lista.innerHTML = "<li>No hay datos en la tabla para mostrar</li>";
}    

} </script> </body> </html>

I suggest you try material design for buttons and menu, like this... <div class="input-container"> <input type="text" id="fname" name="fname" value="" aria-labelledby="label-fname" /> <label class="label" for="fname" id="label-fname"> <div class="text">First Name</div> </label> </div> .input-container { position: relative; }

input { height: 48px; width: 280px; border: 1px solid #c0c0c0; border-radius: 4px; box-sizing: border-box; padding: 16px; }

.label { position: absolute; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; pointer-events: none; }

input, .label .text { font-family: 'Segoe UI'; font-size: 16px; }

.label .text { transition: all 0.15s ease-out; color: grey; }

input:focus { outline: none; border: 2px solid blue; }

input:focus + .label .text, :not(input[value=""]) + .label .text { font-size: 12px; transform: translate(0, -150%); background-color: white; padding-left: 4px; padding-right: 4px; }

input:focus + .label .text { color: blue; } const input = document.getElementById('fname');

input.addEventListener('input', () => { input.setAttribute('value', input.value); });

Btn1 <button class="pure-material-button-contained">Button</button>

.pure-material-button-contained { position: relative; display: inline-block; box-sizing: border-box; border: none; border-radius: 4px; padding: 0 16px; min-width: 64px; height: 36px; vertical-align: middle; text-align: center; text-overflow: ellipsis; text-transform: uppercase; color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255)); background-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243)); box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system); font-size: 14px; font-weight: 500; line-height: 36px; overflow: hidden; outline: none; cursor: pointer; transition: box-shadow 0.2s; }

.pure-material-button-contained::-moz-focus-inner { border: none; }

/* Overlay */ .pure-material-button-contained::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255)); opacity: 0; transition: opacity 0.2s; }

/* Ripple / .pure-material-button-contained::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; padding: 50%; width: 32px; / Safari / height: 32px; / Safari */ background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255)); opacity: 0; transform: translate(-50%, -50%) scale(1); transition: opacity 1s, transform 0.5s; } Hover, Focus */ .pure-material-button-contained:hover, .pure-material-button-contained:focus { box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); }

.pure-material-button-contained:hover::before { opacity: 0.08; }

.pure-material-button-contained:focus::before { opacity: 0.24; } pure-material-button-contained:hover:focus::before { opacity: 0.3; }

/* Active */ .pure-material-button-contained:active { box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); }

.pure-material-button-contained:active::after { opacity: 0.32; transform: translate(-50%, -50%) scale(0); transition: transform 0s; }

/* Disabled */ .pure-material-button-contained:disabled { color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38); background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.12); box-shadow: none; cursor: initial; } pure-material-button-contained:disabled::before { opacity: 0; }

.pure-material-button-contained:disabled::after { opacity: 0; } Fond <body> <div id="cbar"> <div id="nvbar"> </div> </div>

</body>

  • { margin: 0 auto;

} h1{ color:green; }

h2{ color:RED; }

#cbar { width: 150%; height: 250px; background-color: rgb(67, 71, 97); position: absolute; z-index: -2; top: 0; }

#nvbar { height: 60px; width: auto; background-color: rgb(58, 58, 66); }

#content { width: 65%; height: 500px; z-index: 3; background-color: #ddd; margin-top: 80px; box-shadow: 1px 1px 1px 1px #ccc; } Nav <div class="nav-header"> <div class="nav-header__menu-show nav-button button-light material-icons" tabindex="0">menu</div> <div class="nav-header__left-align"> <span class="nav-header__title">Title</span> <span class="nav-header__title">&minus;</span> <span>Subtitle</span> </div> <div> <div class="nav-header__side-button nav-button button-light material-icons" tabindex="0">search</div> <div class="nav-header__side-button nav-button button-light material-icons" tabindex="0">more_vert</div> </div> </div>

  • { box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; /* Chrome & Safari / -moz-user-select: none; / Firefox / -ms-user-select: none; / IE 10+ */ user-select: none;

}

html, body { margin: 0; padding: 0; cursor: default; }

:root { --theme-color: #263238; --accent-color: #ffffff; --theme-text: #FFF; background-color: #ffffff; color: #000; font-family: 'Roboto', sans-serif; }

.nav-header { --nav-button-padding: 7px; background-color: var(--theme-color, #333); color: var(--theme-text, #FFF); width: 100%; height: 64px; padding: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); font-size: 18px; position: fixed; display: flex; flex-direction: row; align-items: center; overflow: hidden; }

.nav-header__left-align { flex: 1; }

.nav-header__menu-show { margin-right: 12px; }

.nav-header__title { padding-right: 8px; }

.nav-header__side-button { margin-left: var(--nav-button-padding, 12px); }

.nav-button { padding: var(--nav-button-padding, 12px); height: 100%; }

@media screen and (max-width: 480px) { .nav-header__title { display: none; } }

.button-light:hover { background-color: rgba(22, 49, 77, 0.14); } .button-light:active, .button-light:focus { background-color: rgba(255, 255, 255, 0.14); }

.button-light:focus { outline: 1px solid #FFF; }

.button-dark:hover, .button-dark:active, .button-dark:focus { background-color: rgba(0, 0, 0, 0.07); } Upload <input id="upload" hidden type="file"/> <label for="upload" class="btn btn-primary" tabindex="0">Upload File</label>

body { padding: 10px; }

$(document).ready(onLoad);

function onLoad() { $('label').on('keydown', onKeyDown); }

function onKeyDown(e) { const enterKey = 13; const spaceKey = 32; if (e.keyCode === enterKey || e.keyCode === spaceKey) { $('#upload').click(); } }

I think it should work. A way to read the columns separately

<!DOCTYPE html> <html> <head> <title>Evento onmouseover</title> <style> /* Estilos CSS para el elemento */ .elemento { width: 200px; height: 100px; background-color: lightblue; border: 1px solid black; display: inline-block; padding: 10px; text-align: center; } .elemento:hover { background-color: lightgreen; cursor: pointer; }

.btn-primary { color: #fff; background-color: #0275d8; border-color: #0275d8; } .btn { display: inline-block; font-weight: 400; line-height: 1.25; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1rem; font-size: 1rem; border-radius: .25rem; -webkit-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; }

label { display: inline-block; margin-bottom: .5rem; } //181b1d btn primary background-color: 37474F; .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle { color: #fff; background-color: #025aa5; background-image: none; border-color: #01549b; } .btn-primary.focus, .btn-primary:focus { -webkit-box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); } .btn-primary:hover { color: #fff; background-color: #025aa5; border-color: #01549b; } btn.active, .btn:active { background-image: none; } .btn.focus, .btn:focus { outline: 0; -webkit-box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .25); box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .25); } .btn:focus, .btn:hover { text-decoration: none; }

</style> </head> <body> <input id="upload" hidden type="file"/> <label for="upload" class="btn btn-primary" tabindex="0">Upload File</label> <div class="elemento" onmouseover="this.style.backgroundColor = 'lightgreen'; this.style.cursor = 'pointer';" onmouseout="this.style.backgroundColor = 'lightblue'; this.style.cursor = 'default';"> Haz click aquí </div>

<input type="file" id="csvFile" accept=".csv">

<div class="elemento"> Haz click aquí </div>

<div id="csv"> hola </div>

<input type="file" onchange=read(this)> <div class="output"></div>

<script> const button = document.createElement('button'); button.textContent = 'Click Me'; const link = document.createElement('a'); link.href = 'https://www.example.com'; link.appendChild(button); document.body.appendChild(link);

document.getElementById("csvFile").addEventListener("change", handleFile);

function handleFile(event) { const file = event.target.files[0]; if (!file) return;

 const reader = new FileReader();
 reader.onload = function(e) {
   const csvText = e.target.result;
   const lines = csvText.split('\n');
   const firstColumn = lines.map(line => line.split(',')[1]);
   console.log(firstColumn);
  document.getElementById("csv").innerHTML = firstColumn;
 };
 reader.readAsText(file);

}

const reader = new FileReader()

function read(input) { const csv = input.files[0] reader.readAsText(csv)

}

reader.onload = function (e) { document.querySelector('.output').innerText = e.target.result; }

</script>

</body> </html>

AnotherNaV

<div class="mdl-layout mdl-js-layout"> <header class="mdl-layout__header"> <div class="mdl-layout__header-row"> <span class="mdl-layout-title">Google</span> <div class="mdl-layout-spacer"></div> <nav class="mdl-navigation">                         <a class="mdl-navigation__link current" href="#">Home</a>                         <a class="mdl-navigation__link" href="#">About</a>                         <a class="mdl-navigation__link" href="#">Portfolio</a>                         <a class="mdl-navigation__link" href="#">Blog</a>                         <a class="mdl-navigation__link" href="#">Shop</a>                         <a class="mdl-navigation__link" href="#">Contact</a> </nav>                   <i id="search-button" class="material-icons search">search</i>                   <div class="mdl-tooltip" for="search-button">Search</div>                   <i id="shopping-button" class="material-icons cart">shopping_cart</i>                   <div class="mdl-tooltip" for="shopping-button"><div>                    <h3>helo</h3>                       </div></div> </div> </header>       <div class="mdl-layout__drawer"> <span class="mdl-layout-title">Google</span>             <span class="mdl-layout-sub-title">Sidebar menu</span> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="#">Products</a> <a class="mdl-navigation__link" href="#">Services</a> <a class="mdl-navigation__link" href="#">Portfolios</a> <a class="mdl-navigation__link" href="#">Achievements</a> <a class="mdl-navigation__link" href="#">Blog</a> </nav> </div> </div> </div>

.mdl-layout-sub-title{       padding-left:40px;       font-weight: bold; }

/* HEADER */ header.mdl-layout__header{       background: #232f34;       color: #fff; } .mdl-layout__header-row .mdl-navigation__link{       opacity: 0.75;       transition-duration: 0.3s; } .mdl-layout__header-row .mdl-navigation__link:hover{       opacity: 1;       transition-duration: 0.3s; } .mdl-layout__header-row .mdl-navigation__link.current{       opacity: 1;       font-weight: bold; } .mdl-layout__header-row .mdl-navigation__link, .mdl-layout__drawer-button{       color: gray; } i.search{       margin-left: 24px;             cursor: pointer; } i.cart{       margin-left: 24px;        cursor: pointer;        font-size: 20px} .mdl-layout__drawer nav {       border-bottom:1px solid #ddd;        }

To include a link inside the button or div just use this code const div = document.getElementById('miDiv'); const url = 'https://www.ejemplo.com';

// Metodo 1: Usando innerHTML // div.innerHTML += <a href="${url}">Enlace a ejemplo.com</a>;

// Metodo 2: Creando el elemento a

 let myButton = document.createElement('button');
myButton.textContent = 'Click Me';
document.body.appendChild(myButton);

const a = document.createElement('a'); a.href = url; a.textContent = 'Enlace a ejemplo.com'; myButton.appendChild(a);

Try this $ tr ';' ',' < /ruta/puntocoma.csv > /ruta/coma.csv sed 's/,/;/g' archivo.csv > archivo nuevo.csv.

<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) / .modal { display: none; / Hidden by default / position: fixed; / Stay in place / z-index: 1; / Sit on top / left: 0; top: 0; width: 100%; / Full width / height: 100%; / Full height / overflow: auto; / Enable scroll if needed / background-color: rgb(0,0,0); / Fallback color / background-color: rgba(0,0,0,0.4); / Black w/ opacity / -webkit-animation-name: fadeIn; / Fade in the background */ -webkit-animation-duration: 0.4s; animation-name: fadeIn; animation-duration: 0.4s }

/* Modal Content */ .modal-content { position: fixed; margin: 10px 12px; top: 0; background-color: #fefefe; width: 98%; -webkit-animation-name: slideIn; -webkit-animation-duration: 0.4s; animation-name: slideIn; animation-duration: 0.4s }

/* The Close Button */ .close { color: rgb(182, 182, 182); float: right; font-size: 50px; font-weight: bold; }

.close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; }

.modal-header { margin: 10px;
padding: 2px 12px; background-color: #021d46; color: white; }

.modal-body {padding: 2px 16px;}

.modal-footer { margin: 10px; padding: 2px 16px; background-color: #021d46; color: white; }

/* Add Animation */ @-webkit-keyframes slideIn { from {bottom: -300px; opacity: 0} to {bottom: 0; opacity: 1} }

@keyframes slideIn { from {bottom: -300px; opacity: 0} to {bottom: 0; opacity: 1} }

@-webkit-keyframes fadeIn { from {opacity: 0} to {opacity: 1} }

@keyframes fadeIn { from {opacity: 0} to {opacity: 1} } </style> </head> <body>

<h2>Bottom Modal</h2>

<!-- Trigger/Open The Modal --> <button id="myBtn">Open Modal</button>

<!-- The Modal --> <div id="myModal" class="modal">

<!-- Modal content --> <div class="modal-content"> <div class="modal-header" style="text-align: center;">
<h2>Modal Header</h2> </div> <div class="modal-body"> <p>Some text in the Modal Body</p> <p>Some Lorem Ipsum.</p> </div> <div class="modal-footer"><span class="close">&times;</span> <h3>Modal Footer</h3> </div> </div>

</div>

<script> // Get the modal var modal = document.getElementById("myModal");

// Get the button that opens the modal var btn = document.getElementById("myBtn");

// Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0];

// When the user clicks the button, open the modal btn.onclick = function() { modal.style.display = "block"; }

// When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; } } </script>

</body> </html>

Ok try this I let me know how it goes

<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .modal { display: none; /* Hidden by default / position: fixed; / Stay in place / z-index: 1; / Sit on top / left: 0; top: 0; width: 100%; / Full width / height: 100%; / Full height / overflow: auto; / Enable scroll if needed / background-color: rgba(0,0,0,0.4); / Black w/ opacity */ }

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Optional: max width */
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

</style> </head> <body>

<button id="openModalBtn">Open Modal</button> <button id="openModalBtn2">Open Modal2</button> <button id="openModalBtn3">Open Modal3</button> <div id="myModal" class="modal"> <div class="modal-content"> <span class="close-button">&times;</span> <h2>Modal Title</h2> <p id="txt">This is the content of the modal window.</p> </div> </div>

<script>
const txt = document.getElementById("txt");
const modal = document.getElementById("myModal");
const openBtn = document.getElementById("openModalBtn");
    const openBtn2 = document.getElementById("openModalBtn2");
        const openBtn3 = document.getElementById("openModalBtn3");
     

const closeBtn = document.querySelector(".close-button");

openBtn.onclick = function() {
    modal.style.display = "block";
    txt.innerHTML = openBtn.innerHTML;        
   
}
openBtn2.onclick = function() {
    modal.style.display = "block";
    txt.innerHTML = openBtn2.innerHTML;
}
    openBtn3.onclick = function() {
    modal.style.display = "block";
   
    txt.innerHTML = openBtn3.innerHTML;
}
closeBtn.onclick = function() {
    modal.style.display = "none";
}

window.onclick = function(event) {
    if (event.target == modal) {
        modal.style.display = "none";
    }
}

</script>

</body>
</html>

≠=========)

<button id="textToCopy">Text to Copy <a href="https://support.apple.com/en-us/118107">ola</a></button> <button id="copyButton">Click Me!</button> <!--div id="textToCopy">This is the text to be copied.</div> <button id="copyButton">Copy Text</button>

    <button id="buttonToCopy">Content to Copy</button>

<button id="anotherButton">Click Me</button-->

<script> document.addEventListener('DOMContentLoaded', () => { const textElement = document.getElementById('textToCopy'); const copyButton = document.getElementById('copyButton');

    copyButton.addEventListener('click', async () => {
        const text = textElement.innerText; // Or .value for input/textarea
        try {

const range = document.createRange(); range.selectNode(textElement); const selection = window.getSelection();
selection.removeAllRanges(); selection.addRange(range); const successful = document.execCommand('copy');

            console.log('Text copied to clipboard!');
            // Optional: Provide visual feedback to the user (e.g., change button text)
            copyButton.textContent = 'Copied!';
            setTimeout(() => {
                copyButton.textContent = 'Copy Text';
            }, 2000); // Reset button text after 2 seconds
        } catch (err) {
            console.error('Failed to copy text: ', err);
            // Optional: Handle errors, e.g., show an alert
            alert('Failed to copy text. Please try again or copy manually.');
        }
    });
});

</script>

<a class="button">Click Me</a>

.button{ position: relative; background-color: black; border-radius: 4em; font-size: 16px; color: white; padding: 0.8em 1.8em; cursor:pointer; user-select:none; text-align: center; text-decoration: none; cursor: pointer; transition-duration: 0.4s; -webkit-transition-duration: 0.4s; /* Safari */ } button:hover { transition-duration: 0.1s; background-color: #3A3A3A; }

.button:after { content: ""; display: block; position: absolute; border-radius: 4em; left: 0; top:0; width: 100%; height: 100%; opacity: 0; transition: all 0.5s; box-shadow: 0 0 10px 40px white; }

.button:active:after { box-shadow: ‪0 0 0 0‬ white; position: absolute; border-radius: 4em; left: 0; top:0; opacity: 1; transition: 0s; }

.button:active { top: 1px; }

.button { text-align: center; text-transform: uppercase; cursor: pointer; font-size: 20px; letter-spacing: 4px; position: relative; background-color: #16a085; border: none; color: #fff; padding: 20px; width: 200px; text-align: center; transition-duration: 0.4s; overflow: hidden; box-shadow: 0 5px 15px #193047; border-radius: 4px; }

.button:hover { background: #fff; box-shadow: 0px 2px 10px 5px #1abc9c; color: #000; }

.button:after { content: ""; background: #1abc9c; display: block; position: absolute; padding-top: 300%; padding-left: 350%; margin-left: -20px !important; margin-top: -120%; opacity: 0; transition: all 0.8s }

.button:active:after { padding: 0; margin: 0; opacity: 1; transition: 0s }

.button:focus { outline:0; }

<div class="clk"><a href="javascript:void"><i class="fa fa-plus-circle"></i>some text</a><div>

body{ background: #d4ffe4;                          height: 100vh;                          display: flex;                          justify-content: center;                          align-items: center;                         
} i{ color:red; }

$('.clk a').click(function(){ $(this).find('i').toggleClass('fa-plus-circle fa-minus-circle') });

<span id="color2">𝄞</span></p> document.getElementById("color2").style.color = "blue";

Updated HTML and Javascript in HTML
 
 
Q