File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1413,7 +1413,7 @@ Shape of the insertion caret: 'caret-shape'</h4>
14131413 <pre contentEditable=true style="background: black; color: white; font-family: monospace; padding: 1ex; caret-shape: underscore;">
14141414 user@host:css-ui-4 $ ls -a
14151415 . .. Overview.bs Overview.html
1416- user@host:css-ui-4 $
1416+ user@host:css-ui-4 $
14171417 </pre>
14181418 </div>
14191419
@@ -1462,17 +1462,25 @@ Shape of the insertion caret: 'caret-shape'</h4>
14621462 white-space: pre;
14631463 background: repeating-linear-gradient(#030 0px, #030 1px, #020 1px, #020 3px);
14641464 }
1465+
1466+ .old-screen[contentEditable] {
1467+ caret: block manual;
1468+ animation: caret-old 2s infinite;
1469+ }
14651470 .old-screen span {
14661471 display:inline-block;
14671472 white-space: pre;
1468- caret: block manual;
14691473 animation: caret-old-ref 2s infinite;
14701474
14711475 }
14721476 @keyframes caret-old-ref {
14731477 from, 50% { background-color: green; }
14741478 75%, to { background-color: transparent; }
14751479 }
1480+ @keyframes caret-old {
1481+ from, 50% { caret-color: green; }
1482+ 75%, to { caret-color: transparent; }
1483+ }
14761484 </style>
14771485 <div class="old-screen" style="height: 100px"> > <span> </span></div>
14781486
You can’t perform that action at this time.
0 commit comments