Bonjour,

Voila je rencontre un petit problème avec mon code,
J'aimerais faire disparaitre le cadre blanc tout autour de l'élément, que ce soit juste transparent.

<iframe src="https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e/embed?ui_controls=1&amp;ui_theatre=0&amp;ui_stop=0&amp;ui_help=0&amp;ui_settings=0&amp;ui_fullscreen=0&amp;ui_watermark=0&amp;scrollwheel=0&amp;transparent=1&amp;ui_snapshots=0&amp;ui_animations=0&amp;ui_annotations=0&amp;autostart=1&amp;ui_infos=0&amp;ui_fadeout=0&amp;internal=1" data-src="https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e/embed?ui_controls=1&amp;ui_theatre=0&amp;ui_stop=0&amp;ui_help=0&amp;ui_settings=0&amp;ui_fullscreen=0&amp;ui_watermark=0&amp;scrollwheel=0&amp;transparent=1&amp;ui_snapshots=0&amp;ui_animations=0&amp;ui_annotations=0&amp;autostart=1&amp;ui_infos=0&amp;ui_fadeout=0&amp;internal=1" width="500" height="300" allowtransparency="true" allowvr="" allowfullscreen="" mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel="">
            </iframe>

Merci pour votre aide :)

3 réponses


essaie ca

<iframe style="border: none;"  src="https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e/embed?ui_controls=1&amp;ui_theatre=0&amp;ui_stop=0&amp;ui_help=0&amp;ui_settings=0&amp;ui_fullscreen=0&amp;ui_watermark=0&amp;scrollwheel=0&amp;transparent=1&amp;ui_snapshots=0&amp;ui_animations=0&amp;ui_annotations=0&amp;autostart=1&amp;ui_infos=0&amp;ui_fadeout=0&amp;internal=1" data-src="https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e/embed?ui_controls=1&amp;ui_theatre=0&amp;ui_stop=0&amp;ui_help=0&amp;ui_settings=0&amp;ui_fullscreen=0&amp;ui_watermark=0&amp;scrollwheel=0&amp;transparent=1&amp;ui_snapshots=0&amp;ui_animations=0&amp;ui_annotations=0&amp;autostart=1&amp;ui_infos=0&amp;ui_fadeout=0&amp;internal=1" width="500" height="300" allowtransparency="true" allowvr="" allowfullscreen="" mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel="">
            </iframe>

Tu aura plein d'info ici.

salut,
simple en css tu point vers ton iframe et tu fais un border:none;

<style type="text/css">
  iframe{border:none;}

</style>

je sais pas si c'est ce que tu veux.