Skip to content

Commit

Permalink
fix(css): add cue pseudo element with argument case (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar authored Jun 10, 2024
1 parent 3a442d8 commit 0923c6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion live-examples/css-examples/pseudo-element/cue.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
video {
width: 250px;
width: 100%;
}

video::cue {
font-size: 1rem;
color: yellow;
}

::cue(u) {
color: red;
}
2 changes: 1 addition & 1 deletion live-examples/media/examples/friday.vtt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Hildy!
How are you?

00:00:01.500 --> 00:00:02.999 line:80%
Tell me, is the lord of the universe in?
Tell me, is the <u>lord of the universe</u> in?

00:00:03.000 --> 00:00:04.299 line:80%
Yes, he's in - in a bad humor
Expand Down

0 comments on commit 0923c6c

Please sign in to comment.