/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/html/nested-fixed-position.html
7 строк
311 B
Patrick Walton
layout: Make child stacking contexts of fixed position stacking contexts
11 апр 2016, 23:36
11 апр 2016, 23:36
8cc3e06
Код
Авторство
О чём код?
<!DOCTYPE html> <body style="height: 2000px; background: linear-gradient(to bottom, white, black)"> <div style="position: fixed; top: 0; right: 0; left: 0;"> <div style="position: absolute; left: 0; right: 0; height: 40px; overflow: hidden;"> This text should <em>not</em> scroll. </div> </div>