Főoldal » Kódok » Html |
Mutat/Rejt (Hide/Show) html,css,js
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <span class="cim"><b id="show1">+</b>/<b id="hide1">-</b> ez egy button:</span>
<style> #show1 {font-weight: bold;font-size:16px;cursor:pointer;padding:10px;background-color: #2efe78;border-radius:1%;} #hide1 {font-weight: bold;font-size:16px;cursor:pointer;padding:10px;background-color: #2efe78;border-radius:1%;} .cim { display: inline-block; border-radius: 2px; background-color: #fea32e; font-weight: 700; padding: 12px 40px; -webkit-transition: all .3s; transition: all .3s; margin-top: 10px; text-transform: uppercase; color: #0f131c; font-size: 13px;} </style>
Példa: Katt ide | |
Megtekintések száma: 115 | |
Összes hozzászólás: 0 | |