Skip to content

Commit

Permalink
cue (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiedziolkaMichal authored Aug 31, 2022
1 parent 29c862c commit 60e59a5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions live-examples/css-examples/pseudo-element/cue.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
video {
width: 250px;
}

video::cue {
font-size: 1rem;
color: yellow;
}
8 changes: 8 additions & 0 deletions live-examples/css-examples/pseudo-element/cue.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<video controls
src="/media/cc0-videos/friday.mp4">
<track default
kind="captions"
srclang="en"
src="/media/examples/friday.vtt" />
Sorry, your browser doesn't support embedded videos.
</video>
9 changes: 9 additions & 0 deletions live-examples/css-examples/pseudo-element/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
"defaultTab": "css",
"height": "tabbed-standard"
},
"cue": {
"exampleCode": "./live-examples/css-examples/pseudo-element/cue.html",
"cssExampleSrc": "./live-examples/css-examples/pseudo-element/cue.css",
"fileName": "pseudo-element-cue.html",
"title": "HTML Demo: ::cue",
"type": "tabbed",
"defaultTab": "css",
"height": "tabbed-shorter"
},
"fileSelectorButton": {
"exampleCode": "./live-examples/css-examples/pseudo-element/file-selector-button.html",
"cssExampleSrc": "./live-examples/css-examples/pseudo-element/file-selector-button.css",
Expand Down

0 comments on commit 60e59a5

Please sign in to comment.