//Вопрос// Как показать блок при нажатии на ссылку (CSS, no JS)?

by Dmitry Nazarov

HTML

<label class="link" for="hider" id="clickme">Нажми на меня!</label>
<input type="checkbox" id="hider">
<div class="content">Привет! Здесь содержание.</div>

CSS

#hider {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
#hider:checked + .content {
    display: block;
}
#clickme {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}

.content {
    margin-top: 10px;
    display: none;
}