Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Блок по центру экрана, с максимальной шириной и ограничением
- */
- /* стили для блока с ограничением */
- .b-limited-content {
- max-width: 1000px;
- margin: 0 auto 1.2em 200px;
- height: 100px;
- background: rgb(0, 127, 255);
- }
- /* вспомагательные стили */
- body {
- margin: 0;
- }
- .b-layout {
- position: relative;
- min-width: 800px;
- overflow: hidden;
- }
- .b-content {
- max-width: 1200px;
- margin: 0 auto 1.2em;
- height: 100px;
- background: rgb(255, 200, 200);
- }
- .b-limit {
- position: absolute;
- top: 0;
- left: 0;
- width: 197px;
- height: 300px;
- border-right: 3px dashed red;
- }
Add Comment
Please, Sign In to add comment