Użytkownik:Gal/Brudnopis: Różnice pomiędzy wersjami
brak opisu edycji
Nie podano opisu zmian |
Nie podano opisu zmian |
||
| Linia 3: | Linia 3: | ||
{{Spoiler|Schowany tekst}} | {{Spoiler|Schowany tekst}} | ||
<button type="button" class="collapsible">Open Collapsible</button> | |||
<div class="content"> | |||
<p>Lorem ipsum...</p> | |||
</div> | |||
<style type="text/css"> | |||
/* Style the button that is used to open and close the collapsible content */ | |||
.collapsible { | |||
background-color: #eee; | |||
color: #444; | |||
cursor: pointer; | |||
padding: 18px; | |||
width: 100%; | |||
border: none; | |||
text-align: left; | |||
outline: none; | |||
font-size: 15px; | |||
} | |||
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ | |||
.active, .collapsible:hover { | |||
background-color: #ccc; | |||
} | |||
/* Style the collapsible content. Note: hidden by default */ | |||
.content { | |||
padding: 0 18px; | |||
display: none; | |||
overflow: hidden; | |||
background-color: #f1f1f1; | |||
} | |||
</style> | |||
== Mieszacz genów == | == Mieszacz genów == | ||