The media.css
file provides styling for all media elements such as audio
and video
. It enhances both the UI and UX, especially on Chromium-based browsers.
Below are some examples of audio and video elements:
Here are some useful details about media elements:
--radius
, --play-button-color
, --video-bg
,
--video-control-bg
, and --caption-bg
.
.vertical
class to media elements to display them in a vertical layout..fullscreen-cover
class to make a video element cover the full screen.