Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CC Annimate as Website Background

New Here ,
Apr 11, 2017 Apr 11, 2017

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.

607
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 12, 2017 Apr 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".

Translate
LEGEND ,
Apr 11, 2017 Apr 11, 2017

your wordpress server says there is no animation at that address

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 11, 2017 Apr 11, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 11, 2017 Apr 11, 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;

Screenshot (930).png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 12, 2017 Apr 12, 2017
LATEST

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".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines