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

CC Annimate as Website Background

New Here ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

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.

Views

477

Translate

Translate

Report

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

Votes

Translate

Translate
LEGEND ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

your wordpress server says there is no animation at that address

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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