CSS adding border radius to an IFrame

前端 未结 11 795
南旧
南旧 2020-12-31 05:50

Adding a border to an IFrame is no biggie - you do it like this e.g.:

  border: 4px solid #000;
  -moz-border-radius: 15px;
  border-radius: 15px;
         


        
11条回答
  •  生来不讨喜
    2020-12-31 06:19

    You can also do it like this:

    I have also included all the youtube options in the above example:

    1: autoplay=1 (0/1 | automatic play movie)

    2: loop=1 ( 0/1 looping on/off )

    3: rel=0 ( hide related movies after movie ending, this does not always work)

    4: border=0 (removes youtube border)

    5: modestbranding=1 (removes youtube logo)

提交回复
热议问题