Giphy TV border radius

149 Views Asked by At

I put the Giphy TV in my site. Now I want to give it rounded borders, but I dont succeed. Can someone help me out?

https://giphy.com

Giphy TV code:

<div id="_giphy_tv"></div>
<script>
var _giphy_tv_tag="giphytrending";
var g = document.createElement('script'); g.type = 'text/javascript'; g.async = true;
g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'giphy.com/static/js/widgets/tv.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(g, s);

You can also copy it from the site. Thanks.

2

There are 2 best solutions below

1
On BEST ANSWER

After some quick research:

#asdf-container {
  border-radius: 30px !important;
}
#asdf-wrapper {
  background-image: none !important;
}

Both rules need to be flagged !important because that's what they already come in from giphy side.

https://jsfiddle.net/hykoyqo5/

1
On

Emmm...

#_giphy_tv {
border-radius: 10px;
}

?