1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
pre, .pre { overflow-x: auto; overflow-y: hidden; overflow: scroll; } pre code { display: block; padding: 1.5em 1.5em; white-space: pre; font-size: .875rem; line-height: 2; } pre { background-color: #222; color: #ddd; white-space: pre; hyphens: none; position: relative; }