Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @13.98
Activity rating: Three Stars Posts & Arts: 44/1k.beats Random | Recent Posts | Guild Recents
News: :4u: ~~~~~~~~~~~  :4u: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  share fun codes you think that everyone should have/use


« previous next »
Pages: [1] Print Embed
Author Topic: share fun codes you think that everyone should have/use  (Read 1642 times)
AJ
Sr. Member
****
View Profile WWW


am back once again
⛺︎ My Room
StatusCafe: six
iMood: sintax

Artifacts:
First 1000 Members!Joined 2023!
« on: a Spring night » Embed

as someone who always looks for ways to improve my site, I frequent w3schools looking for fun ways to spice up my site.
If you have fun or cool codes that is your go-to when designing, drop them below! I'll go first. This is a cool appearing image when you click on the button!

HTML

Code
<div class="container">
<a href="#" class="button">
  click for an image
</a>

<img class="content" src="URL" />
</div>

CSS

Code
body {
  background: url(https://iili.io/HkwFAx9.jpg)
}

/* This part makes the click effect work */

/*This changes the part you click on*/
.button:focus {
  box-shadow: 0px 2px #FFFFFF;
  background-color: #006400;
  font-weight: bold;
}

/*This allows you to change the content when you click on the button*/
.button:focus ~ .content {
  opacity: 1;
}

/*Just some styling to make the look pretty :D*/

.container {
  width: 500px;
}

.button {
  font-family: font;
  color: #HEX;
  background: #;
  border-radius: px;
  padding: -px -px;
  font-size: -px;
}

.content {
  opacity: -;
  margin-top: -px;
  transition: -s;
  width: -px;
  border: -px solid white;
}

*{cursor: default}

.button:hover {
  cursor: pointer;
}


no this is not a way for me to grab some cool codes what...



* ezgif-1-2a4af281e0.gif (526.33 kB, 600x305 - viewed 96 times.)
Logged
shevek
Hero Member ⚓︎
*****
View Profile WWW


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷
⛺︎ My Room
iMood: daintyeco

Artifacts:
Great Posts PacmanThanks for being rad!First 1000 Members!Joined 2023!
« Reply #1 on: a Spring day » Embed

Related thread for just CSS snippets: https://forum.melonland.net/index.php?topic=1007.0  :smile:

Logged

Odo was just an idea. Shevek is the proof.
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