Skip to main content
betterbranding
Participant
April 11, 2017
Answered

CC Annimate as Website Background

  • April 11, 2017
  • 2 replies
  • 669 views

Hello, does anyone know how to add a published CC Annimate html file to the <body> background of a Website. I uploaded the published images, js and html files to my server and used this css:

body { background: url(http://test1.theimagedepartment.com/annimate/Ballard-Republic-Website-Background-Annimation.html); }

but no luck.

Thanks in advance.

    This topic has been closed for replies.
    Correct answer ClayUUID

    HTML elements that support the background property only allow setting the background to a solid color, gradient, or image. You can not set a background to an arbitrary HTML element.

    You can fake it though. Google for  "HTML canvas as background".

    2 replies

    ClayUUIDCorrect answer
    Legend
    April 12, 2017

    HTML elements that support the background property only allow setting the background to a solid color, gradient, or image. You can not set a background to an arbitrary HTML element.

    You can fake it though. Google for  "HTML canvas as background".

    Ussnorway7605025
    Legend
    April 11, 2017

    your wordpress server says there is no animation at that address

    betterbranding
    Participant
    April 12, 2017

    Thanks but I'm not sure what you mean by that. The html file does display the animation on its own http://test1.theimagedepartment.com/annimate/Ballard-Republic-Website-Background-Annimation.html I'm just trying to figure out how to make it part of the <body> background.

    Ussnorway7605025
    Legend
    April 12, 2017

    betterbranding  wrote

    Thanks but I'm not sure what you mean by that. The html file does display the animation on its own http://test1.theimagedepartment.com/annimate/Ballard-Republic-Website-Background-Annimatio n.html

    i see this;