] ."/> ] .">

Home  >  Article  >  Web Front-end  >  How to set video to opaque background in HTML

How to set video to opaque background in HTML

coldplay.xixi
coldplay.xixiOriginal
2021-02-20 15:54:254100browse

HTML method to set video to opaque background: use loop, autoplay method, directly insert relevant code [2598d817d52016c750536e0e07e4f5fca6a9c6d3f311dabb528ad355798dc27d].

How to set video to opaque background in HTML

The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer. This method is suitable for all brands of computers.

How to set video to opaque background in HTML:

Insert the following code first:

  • loop means loop play

  • autoplay means automatic play

css modified as follows:

Related learning recommendations: html tutorial

The above is the detailed content of How to set video to opaque background in HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn