Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @195.34
Activity rating: Four Stars Posts & Arts: 73/1k.beats Random | Recent Posts | Guild Recents
News: :ha: :pc: Hello Melonland! :pc: :happy: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  css infinite hue-rotate animation for the background image?


« previous next »
Pages: [1] Print Embed
Author Topic: css infinite hue-rotate animation for the background image?  (Read 1141 times)
Noonbeam
Jr. Member
**
View Profile WWW


your local strange vocathing! ^_^
⛺︎ My Room
Itch.io: My Games

Artifacts:
Sun BeamedJoined 2024!
« on: a Summer night » Embed

AND WE'RE BACK IN THE HELP FORUM BABY 🔥🔥🔥🔥🔥 ive been googling and ive got some things written down but it wont work, i think its because its not specifying that its gotta be the background image that does hue-rotate but i dont actually know how to do that 💔 heres the code i have vvv
https://file.garden/Za8b_JenwWPK30ab/neocities/heeeeelp%20help%20meeee/hue%20rotate%20code%20help.png

Logged

SPIRIT AND OPPORTUNITY REPEATS WITH EACH NEW ROVER !
https://file.garden/Za8b_JenwWPK30ab/misc/CURIOSITYYY.gif
noonbeam || gif by me :3
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« Reply #1 on: a Summer night » Embed

U made a CSS class called "hue-rotate" so you need to apply the class to something  :tongue:

E.g. <body class="hue-rotate"> if you wanted to apply it to the entire webpage.

As for making it apply to ONLY the background image; youd need to make a fake background and then apply it to that, e.g.

Code
<div id="mybg" class="hue-rotate"></div>

Then in CSS - you can do this which makes it will make it fill the page and float behind everything like a background.
Code
#mybg{
    background-image: ur image link etc
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -10;
}

You might need to tinker a bit to make it actually fill the page (try making the html, and body 100% wide and tall) and avoid body padding which will mess with it!

The hue animation is a really cool idea and Id love to see how it works out!  :ha:

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Red TulipLurby?here comes the bapSmile on, rainbow flower!Plank
Noonbeam
Jr. Member
**
View Profile WWW


your local strange vocathing! ^_^
⛺︎ My Room
Itch.io: My Games

Artifacts:
Sun BeamedJoined 2024!
« Reply #2 on: a Summer night » Embed

U made a CSS class called "hue-rotate" so you need to apply the class to something  :tongue:

E.g. <body class="hue-rotate"> if you wanted to apply it to the entire webpage.

As for making it apply to ONLY the background image; youd need to make a fake background and then apply it to that, e.g.

Code
<div id="mybg" class="hue-rotate"></div>

Then in CSS - you can do this which makes it will make it fill the page and float behind everything like a background.
Code
#mybg{
    background-image: ur image link etc
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -10;
}

You might need to tinker a bit to make it actually fill the page (try making the html, and body 100% wide and tall) and avoid body padding which will mess with it!

The hue animation is a really cool idea and Id love to see how it works out!  :ha:

no idea if you got a ghost notification for that but i accidentally posted it early </3 anyway im not sure where i go from here [and also css doesnt like that first thing </3], ive tried making the background a different image and getting rid of the background-image at the top, but neither of those seemed to work. sorry if im missing something HGDFLAVFKJN

https://file.garden/Za8b_JenwWPK30ab/neocities/heeeeelp%20help%20meeee/hue%20rotate%20code%20help%202.png

+ the specific errors i got for that one line


https://file.garden/Za8b_JenwWPK30ab/neocities/heeeeelp%20help%20meeee/hue%20rotate%20code%20help%202.5.png

Logged

SPIRIT AND OPPORTUNITY REPEATS WITH EACH NEW ROVER !
https://file.garden/Za8b_JenwWPK30ab/misc/CURIOSITYYY.gif
noonbeam || gif by me :3
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« Reply #3 on: a Summer night » Embed

sorry if im missing something HGDFLAVFKJN
Ooph, CSS is not HTML, you cant mix the two like that; I think it might be a good idea if you went back and read a basic web crafting guide  :ohdear:

I have one on my website; but the W3Schools have seprate ones for HTML and CSS that are very good!

I think you should ignore my previous post and keep it simple until you understand the basics  :4u:

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Red TulipLurby?here comes the bapSmile on, rainbow flower!Plank
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Join: craft.melonking.net