Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Guide to CSS: Beginner to Expert

Forum Index > PokéFarm > Guides >

Pages: 123··· 1415161718··· 272829

Iron Jugulis's AvatarIron Jugulis
Iron Jugulis's Avatar
hello, i was coding a template but it have some problem: template here 1, the panels (hide/display/accordion thingy) is having a little box shadow or something:

the thing in question

I think it is my site skin cause the problem, as sometimes the site skin overlap my codes. (btw I'm using Neonyan's discord site skin) edit: it was really the site skin causing that little black thing :00
2, tooltip background is not working for some reason? the tooltip was like this and it doesn't work:

code

div.tooltip_content { background: white; color: @text; border: solid 2px #99c5c4; } .bbcode_tooltip { border-bottom: 1px dotted #99c5c4; }

3, the h3 in the panels, while in the [display] code, the text color works, but in the hide, it doesn't:

image for sure


thank you for considering this, and here is the code: (plz, do not use!)

code (long)

[sc=bg][sc=box1][center]🐟 watershed 🐟[/center][/sc][sc=box2][center][/center][img]https://f2.toyhou.se/file/f2-toyhou-se/images/65454249_r4KfWwPFWbPNuHe.png[/img][/sc][sc=box1] woaa was playin' w/ float </3 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.[/sc][sc=box1][display=code?]display[/display] [sc=tabbed_interface horizontal][ul] [li]Tab[/li] [li]Tab[/li] [li]Tab[/li] [li]Tab[/li] [li]Tab[/li] [/ul][ ][sc=tab-active]content[/sc][ ][sc=tab]to be continue [b]bold[/b] [i]italic[/i] tooltip is not working for a reason [hide=hide]hide[/hide] [table] [tr] [th=6x1]Boxes[/th] [/tr] [tr] [td][tip=Cute Box][item=Cute Box][/tip] x[inventory=Cute Box][/td] [td][tip=Dainty Box][item=Dainty Box][/tip] x[inventory=Dainty Box][/td] [td][tip=Deluxe Box][item=Deluxe Box][/tip] x[inventory=Deluxe Box][/td] [td][tip=Glittery Box][item=Glittery Box][/tip] x[inventory=Glittery Box][/td] [td][tip=Gorgeous Box][item=Gorgeous Box][/tip] x[inventory=Gorgeous Box][/td] [td][tip=Hard Box][item=Hard Box][/tip] x[inventory=Hard Box][/td] [/tr] [tr] [td][tip=Heavy Box][item=Heavy Box][/tip] x[inventory=Heavy Box][/td] [td][tip=Light Box][item=Light Box][/tip] x[inventory=Light Box][/td] [td][tip=Nifty Box][item=Nifty Box][/tip] x[inventory=Nifty Box][/td] [td][tip=Pretty Box][item=Pretty Box][/tip] x[inventory=Pretty Box][/td] [td][tip=Shiny Box][item=Shiny Box][/tip] x[inventory=Shiny Box][/td] [td][tip=Sinister Box][item=Sinister Box][/tip] x[inventory=Sinister Box][/td] [/tr] [tr] [td][tip=Box Box][item=Box Box][/tip] x[inventory=Box Box][/td] [td][tip=Box Box Box][item=Box Box Box][/tip] x[inventory=Box Box Box][/td] [td][tip=Gragon's Stash][item=Gragon's Stash][/tip] x[inventory=Gragon's Stash][/td] [td=3x1][/td] [/tr] [tr] [th]Total: [math][inventory=Cute Box]+[inventory=Dainty Box]+[inventory=Deluxe Box]+[inventory=Glittery Box]+[inventory=Gorgeous Box]+[inventory=Hard Box]+[inventory=Heavy Box]+[inventory=Light Box]+[inventory=Nifty Box]+[inventory=Pretty Box]+[inventory=Shiny Box]+[inventory=Sinister Box]+[inventory=Box Box]*21+[inventory=Box Box Box]*126+[inventory=Ledah's Bawkz]*630[/math] [/th] [td=5x1][/td] [/tr] [/table][/sc][ ][sc=tab]content[/sc][ ][sc=tab]content[/sc][ ][sc=tab]content[/sc][ ][/sc][/sc][sc=credit]mine, pixel and oc mine[/sc][/sc] [style] //colors// @accent1: #99c5c4; @accent2: #63807f; @text: black; @accent3: white; // bg // .bg { background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(189,189,226,1)), color-stop(100%, rgba(134,175,177,1)));; padding: 4px; font: 10px calibri light; color: @text; border-radius: 5px;} .box1 { background: rgba(255,255,255,0.8); border-radius: 5px; color: @text; padding: 8px; margin: 2px 2px 4px 2px; font-size: 15px; text-align: center; } .box2 { background: rgba(134,175,177,0); border-radius: 5px; color: @text; padding: 8px; margin: 2px 2px 4px 2px; font-size: 15px; text-align: center; width:20%; float: right; } .credit { color:white;} a {color: @accent1;} a:hover {letter-spacing: 2px; transition: all 1s; } a:not(:hover){letter-spacing: 0px; transition: all 1s; } .tooltip_content { border: 0.5px solid @text; background: @bkg; min-width:1%; width: fit-content; color: @text; font-size: 10pt; padding: 5px; } .panel { background-color: @accent3; border: 2px solid @accent1; border-radius:5px; box-shadow: none; width: 75%; margin: 0 auto; color: @text; >h3 { background: @accent3; border-bottom: 2px solid @accent1; font-size:10pt; color: @accent2; font-weight:bold; text-align: center; padding:5px;} >div { color: @text; padding: 10px; } } .expbar { padding: 5px; background: @accent3; color: @text; border-radius: 5px; width: 65%; text-shadow: none; border: 5px solid @accent1; } .expbar div { background: @accent1; border-right: 2px solid @accent1; } .expbar span { color: @text; } .bbcode_table { background: transparent; border: 1px solid hidden; } table { border: 0px solid @accent1; padding: 4px; border-collapse: separate; th, td { text-align: center; padding: 5px; border-radius: 5px; border: 2px solid @accent1; color: @text; } th { background-color: @accent3; color: @text; } td { background-color: @accent3; } } table { margin: 0 auto; } .tabbed_interface { border-collapse: separate; >ul { background: none; >li { background: @accent3; color: black; border: 2px solid @accent1; border-radius: 5px; margin: 10px; height: 15px; font-size: 10pt; min-width: 15%; padding: 5px 0px; text-align: center; color: @text; &.tab-active { background: @accent1; border: 2px glow @accent1; color: @accent3; } } } .tab, .tab-active { background: rgba(255,255,255,0); color: @text; border: 0px solid @accent1; box-shadow: none; } } hr { width: 80%; height: 0.5px; border-radius: 5px; background: @accent1; } b,i{color: @accent2;} h1,h2{color: @accent2;} .party > div { background: black; color: white; border: 1px solid white; box-shadow: 3px 3px 3px pink; a:link, a:visited { color: pink; } .action > .berrybuttons[data-up='sour'] > [data-berry='aspear'], .action > .berrybuttons[data-up='spicy'] > [data-berry='cheri'], .action > .berrybuttons[data-up='dry'] > [data-berry='chesto'], .action > .berrybuttons[data-up='sweet'] > [data-berry='pecha'], .action > .berrybuttons[data-up='bitter'] > [data-berry='rawst'] { background: white; } .action > .berrybuttons[data-down='sour'] > [data-berry='aspear'], .action > .berrybuttons[data-down='spicy'] > [data-berry='cheri'], .action > .berrybuttons[data-down='dry'] > [data-berry='chesto'], .action > .berrybuttons[data-down='sweet'] > [data-berry='pecha'], .action > .berrybuttons[data-down='bitter'] > [data-berry='rawst'] { background: grey; } .action a[data-berry]:after { border: 2px solid @accent1; border-radius: 5px; } .pkmn:before { border: solid @accent1; background-color: @accent3; } .expbar { border: solid 1px @accent1; color: @text; background: @accent3; border-radius: 5px; >div { background: @accent3; border-right: solid 2px @accent3; } } div.tooltip_content { background: white; color: @text; border: solid 2px #99c5c4; } .bbcode_tooltip { border-bottom: 1px dotted #99c5c4; } }[/style]
thank you very much (again)!!!
”A knight’s duty goes beyond a sword." -Kaeya Alberich
0 / 500, 15zc/ea
Trade ShopArt ShopJournal pls give my bab Morgen some love! ->
Snow Jewel

Snow Jewel

Forme-Change Item

(: 0)

A delicate jewel that seems to be frozen.

Sells for 325

Lv. 100 — +4,275,777
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryCheri Berry
Cheri Berry (SPICY)
Chesto BerryChesto Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Sour food
RockIce
Happiness MAX
Bold nature
credits

credits

Sakaki's AvatarSakaki
Sakaki's Avatar
Hello! So I would like to display a count-down of how many gems I will need to reach Wishalloy in a specific type of badge, but I'm not sure how to go about it. Ex: x,xxx gems left. I see plenty of other users utilizing a similar display for their goals and whatnot, and I'm having trouble figuring out how to execute it myself. I figured it might be utilizing some style-coding. Could someone give me a run-down of the general scripting used? Thank you kindly. ^_^
Avatar is official Pokémon TCG artwork illustrated by TOKIYA.
Hello~ So, how would you make a faded bottom-border like this template here? Except without the surrounding box-shadows...Just the faded bottom-border of the image.
Star | She/Her | Psychopath
BORED TO DEATH!!
Collecting
x 500 x 500
Sells a variety of things!
Credits
Full credits here. PFP => Salty_Lightning on Pinterest Button => Kaelwolfur
ElectricRose's AvatarElectricRose
ElectricRose's Avatar
Hiya, I'm an absolute beginner when it comes to coding so please explain as simple as possible. When naming a field can you have an image included? How? And then if so, what about the regional flags from the Pokédex? Thanks in advance for any help ^-^
Lv. 61 — 7,095 / 14,184
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryCheri Berry
Cheri Berry (SPICY)
Chesto BerryChesto Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Any food
Dragon
Happiness 27%
Quirky nature
Art by me
You can use anything keyboard wise, like emojis, but I dont think an entire image works...

QUOTE originally posted by ElectricRose

Hiya, I'm an absolute beginner when it comes to coding so please explain as simple as possible. When naming a field can you have an image included? How? And then if so, what about the regional flags from the Pokédex? Thanks in advance for any help ^-^
you can use emojis, but not actual images!

Sonora - 16 - hoot/owl


"You weren't quite as bold. Smarter, sharpr, brighter than the rest . . . Now you're sixteen, broke and burning out in style" -gifted kid burnout . Tom O'Donovan TH
Sweet Apple

Sweet Apple

Evolution Item

(: 0)

A peculiar apple that can make a certain species of Pokémon evolve. It's exceptionally sweet.

Sells for 1,000

Lv. 11 — 369 / 672
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryCheri Berry
Cheri Berry (SPICY)
Chesto BerryChesto Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Sweet food
GrassDragon
Happiness MAX
Timid nature
**
PFP by me!
EveRiddle's AvatarEveRiddle
EveRiddle's Avatar
Hey I've been working on my about me for a while now, finally got to the point where I can use it, as I believe it's all legible. Problem is my accordion turns out wonky for some reason. The problem is in the gems tab, though for some reason the accordion will look correct within a forum post. I took a screen shot because it really confused me that it displays wrong in the about me

screen shot

about me

  • Main
  • Hunt
  • Gems
  • Progress
  • About Me
  • Hoards
  • Battles
  • ViP
UFS
Check my shop ^^
  1. Albino
  2. Shiny
  3. Eventually Melan
  4. Gem Swap
  5. Training Bags
  6. I take S/A/M order requests
  7. RTE for Sale
  8. Free fields
  9. Dex Trade Megas
  10. Dex Trade Totems
  11. More to come
: My Shop. Clicks: 1:1
That's normally 6. I will Massclick back
. PokeRus Clicks: 1:1
Unless strapped for time
. Fields: Info
1. Wishforge Fields = Fluctuates between 0 - 1400 2. Kept Critters = 2k+ pf1 critters included in count 3. 🍋 = Sour|🌶 = Spicy|🥨 = Dry|🍑 = Sweet|☕️ = Bitter|🍱 = Any 4. UFT, Free and the like are not included in any count
  • TypeRace
  • Badge Goals
  • Collecting
  • Delta CL
Ice Score: 3018 Team List: List My TR Mascots:
Grass and Fire
1997/9001
Grass Gem
5881/9001
Fire gem
5/30k
Griseous Orb
5/500
Tanzaku
Starting a Delta clicklist. PM if you want to be on it, please guest click me as well thank you ^^. The list: Clicky

Fennekin

Main Goal:
  1. 0/1 Female Melan Fennekin
  2. 3/3 Melan Fennekin line
  3. 3/3 Melan for GF
  4. 4/3 Shiny for Gf 2 of which are twins

Shiny Twins: 2 Ablino Twins: 1 Trolls: 1 (that I've noticed)

Small & Medium

Normal x584 x11
Fire x5881 x7
Water x1082 x1
Electric x29 x0
Grass x1997 x0
Ice x101 x0
Fighting x11 x0
Poison x90 x0
Ground x1188 x0
Flying x21 x0
Psychic x8 x1
Bug x1015 x0
Rock x6 x0
Ghost x10 x0
Dragon x207 x3
Dark x571 x0
Steel x7 x0
Fairy x19 x0

Large & Flawless

Modified the Small and Medium table.
Normal x1 x1
Fire x0 x25
Water x0 x0
Electric x0 x0
Grass x0 x26
Ice x0 x0
Fighting x0 x0
Poison x0 x1
Ground x0 x0
Flying x0 x0
Psychic x0 x0
Bug x0 x0
Rock x0 x0
Ghost x0 x0
Dragon x0 x0
Dark x0 x0
Steel x0 x0
Fairy x0 x0
Credits for the item tables are in the main credits.
  • PkmnForms
  • Memories
  • Megas
  • Boxes
  • Summons
Deoxys [Attack Forme] Deoxys [Defence Forme] Deoxys [Speed Forme]
  • Bug
  • Dark
  • Dragon
  • Electric
  • Fighting
  • Flying
  • Ghost
  • Ground
  • Ice
  • Poison
  • Psychic
  • Rock
  • Steel
  • Water
  • Fairy
Tier 2 Mega's needed: Absolite Aggronite Alakazite Altarianite Banettite Gengarite Manectite Slowbronite
Tier 4 mega's needed: Blastoisinite Blazikenite Charizardite X Mewtwonite Y Swampertite Meteorite
Boxes
Cute Box
x0
Dainty Box
x2
Deluxe Box
x3
Glittery Box
x2
Gorgeous Box
x0
Hard Box
x3
Heavy Box
x1
Light Box
x2
Nifty Box
x1
Pretty Box
x3
Shiny Box
x4
Sinister Box
x1
Total: 22
Dex Unlocks
EggDex Unlocks
Origin Sash
x0
GS Ball
x3
Tanzaku
x5
Gracidea Seed
x0
Victory Medal
x3
Diamond Tiara
x3
Soul Heart
x1
White Belt
x1
PokéDex Unlocks
Fire Feather
x2
Ice Feather
x2
Thunder Feather
x3
Fire Fang
x3
Ice Fang
x1
Thunder Fang
x0
Rock Statue
x3
Steel Statue
x3
Ice Statue
x2
Kagami
x2
Magatama
x0
Kusanagi
x0
Cobalt Epee
x2
Viridian Epee
x0
Terracotta Epee
x0
Life Antler
x3
Death Wing
x1
Ku Idol
x4
Kane Idol
x1
Lono Idol
x4
Kanaloa Idol
x2
Rusted Sword
x1
Rusted Shield
x0
Chain Unlocks
Tidal Bell
x3
Clear Bell
x0
Jade Orb
x2
Gold Statue
x2
Adamant Orb
x0
Lustrous Orb
x1
Griseous Orb
x5
Fujin's Lamp
x4
Raijin's Lamp
x3
Inari's Lamp
x1
Gray Stone
x2
Apprentice's Epee
x0
Order's Crest
x1
Eclipse Flute
x2
Wishing Star
x0
Psychic Feather
x3
Rage Feather
x1
Combat Feather
x0
Electric Statue
x0
Dragon Statue
x0
Radiant Petal
x2
Master Unlocks
Sapphire Orb
x0
Ruby Orb
x1
Magma Stone
x2
Sea Crown
x1
Helix Orb
x0
Hyperspace Ring
x1
Nightmare Shroud
x0
Red Soul Dew
x2
Blue Soul Dew
x0
Black Stone
x0
White Stone
x0
Cloned Sash
x1
Ancient Drive
x1
Komainu Figurine
x2
Music Box
x0
Lunar Wing
x1
Spectral Leiomano
x0
Plasma Koa
x0
Iceroot Carrot
x1
Shaderoot Carrot
x0
Jungle Root
x0
Special Summons
Beast Ball
x0
Mage Orb
x0
Black Prism
x0
Borealis Lantern
x0
Ultimate Unlock
Azure Flute
x0
Credits for the item tables are in the main credits.
My Birthday: July 3rd 1988 Gender: Female Journal
Go there to learn more about me, my fields & etc
: My Journal. Other places: Flight Rising Pm: Go for it I don't mind talking :P I just sometimes take a bit Favourite holiday: Halloween Most stressful/upsetting holiday: Christmas >.< Looking for: things Goals: learning codding and such to make my own simplistic templates
Always accepting Hoard Donations!
  • Gimer/Muk All forms
    31
  • Eeveelutions
    417
  • Tyrunt line
    38
  • Litleo Line
    43
  • Hallowe'en Witch
    9
  • BM Slugma Line
    6
  • Talonflame line
    47
  • Incineroar line
    49
  • Lycanroc line
    114
  • Orthrus & Cerberus
    7
  • Glileo & Pyriscor
    4
  • Swoobat line
    5
  • H.Zorau line
    27
  • Gligar/Vamp Gligar Line
    13
  • Varoom line
    7
  • Metagross line
    6
I do, do battles. If you are looking to win for the task you must set up the battle, and tell me it's for the task. I'll send something untrained. Pm for how many battles you want to do in a row type thing so I can focus on that. I have a collection of pkmn I have trained to battle somewhat serious battles when I am working on my task. I have an albino I trained up that I might use now. not Largly focused on battles as it's not really my thing heh.
VIP list = Friendlist Please let me know if you add me, even it's just for clicking. Click list: Party-Massclick
Bait: bait image 200 by 200 roughly
Credits
Template made by EveRiddle Coded by EveRiddle Followed this Guide FTU Item tables found here

code please don't take for my use only

[style] .BoxEndeavorAM { width: 310px; height: 100%; Background: navy; Background-size: 100% auto; color: white; text-align: justify; Font-size: 11pt; border: 3px groove orange; border-radius: 10px; padding: 5px; margin: 0%; padding-top: 10px; padding-left: 3px; box-sizing: border-box; .expbar { background: gray; color: white; border: 2px inset purple; border-radius: 50px; > div { background: blue; border-right: 2px solid black; border-radius: 10px; } } .Credit{ div.tooltip_content { background: #87e3ef; color: black; Font-size: 8pt; a:link {color: navy;} a:visited { color: red; } border: 2.5px solid #18a0b1; border-radius: 5px; margin-left: 122px; margin-top: -85px; position: center; } .bbcode_tooltip { border-bottom: 2px dotted orange; margin-left: 82%; }} a:link { color: #00D9FF; } a:visited { color: red; } div.tooltip_content { background: #87e3ef; color: Black; border: 2px solid #18a0b1; border-radius: 10px; a:link {color: navy;} overflow: display; } .bbcode_tooltip { border-bottom: 2px dotted black; } .panel { border: 2px solid black; border-radius: 15px; &>h3 { > a { color: white; } background: #3919c2; text-align: Center; border-radius: 10px; } &>div { color: #870702; background: #876fec; text-align: center; } } table {margin: 0 auto; border: dashed 3px black; } table th { border: dashed 2px black; color: Black; background: #6E6E6E; border: dashed 2px Black; text-align: center; } table td { border: outset 2px Black; background: #abd8f3; color: black; text-align: center; } .tabbed_interface { background: #2a0875; border: 4px inset Black; border-radius: 10px; box-shadow: 2px #390ca1; Text-Align: justify; & > ul { background: #1d24e2; border: 3.5px ridge #5ae5fa; border-radius:10px; Text-align: Center; & > li { background: #2A0090; border: 5px solid #030001; border-radius: 10px; padding: 2px; border: 2.8px solid #030001; border-radius: 10px; color: white; Text-align: Center; &.tab-active { background: #682bd4; border: 3px outset Gray; Text-align: Center; } } & > li:hover { cursor: pointer; } } > .tab, > .tab-active { background: #3336FF; border: 3px inset #5ae5fa; border-radius: 18px; color: white; text-align: justify; padding-left: 5px; padding-right:3.5px; } } }[/style]
Edit: now it seems to be working right I think it might've been my browser being a bit of a pain
  • Avatar & Type Race
  • Shop
  • Other sites
  • Forum Info
Drew the avatar myself, for my use. She is a kitty girl I drew in paint for fun of it. Avatar in my about me currently is also drawn by me, she's a harpy but not colored in. Current Type Race score: 3018
I have a shop now ^^. Need to work out some sort of banner/button.
Flight Raising, same username don't mind being poked there but not active on that site as much anymore.
I still get anxious on forums, but trying to work on that. Notr: This pfq tabs I'm using can be found in this guide
I will make this thing pretty at some point
Hello, I am coding a signature and I want to make the tabs perfectly square, how would accomplish this?

Code - No Stealing!

[sc=starcode] [sc=textbox][sc=tabbed_interface horizontal] [ul] [li]Title 1[/li] [li]Title 2[/li] [li]Title 3[/li] [li]Title 4[/li] [li]Title 5[/li] [/ul][ ][sc=tab-active]contents 1[/sc][ ][sc=tab]contents 2[/sc][ ][sc=tab]contents 3[/sc][/sc] [/sc] [/sc] [style] .starcode { background-image: url(https://i.postimg.cc/VL0bGs7M/north-star-g4ce1098a6-1280.jpg); width: 100%; .tabbed_interface { border-collapse: separate; opacity: 70%; border: none; box-shadow: none; & > ul { background: none; opacity: 70%; border: none; margin-top: -30px; & > li { background: black; border: 0px; margin: 5px 3px 50px; text-align: center; vertical-align: baseline; color: #B6C2FB; padding: 0px 0px 5px 0px; &.tab-active { background: black; } } & > li:hover { cursor: pointer; color: #FFFFFF; } } > .tab, > .tab-active { background: black; color: #B6C2FB; opacity: 70%; padding: 5px 15px 10px 10px; box-shadow: none; } } } .textbox { } [/style]
Mirzam's AvatarMirzam
Mirzam's Avatar
Making them perfectly square could get a little tricky. If your ultimate goal is to have images, icons, or emojis as tabs, it might be easy. Then you could just set fixed heights and widths to match the images, and use flex to space them evenly on large and small screens. But if you're putting text in the tab headers, unless you're very careful you could make the tabs look odd or be hard to use on some devices... you could get weird text overflow issues, and tabs that don't fit correctly on mobile. There may be ways around this, especially if it's your own signature and you know exactly what you're going to put in the tabs. But if it's for others, I'm not sure. (Side note: If this was a post template instead of a signature you might have more options... it's not always ideal but at least you have relatively unlimited vertical space, so if your tabs wrap to a second row it doesn't matter as much. But for a signature, if your tabs are tall since they're squares, and wrap to a new line, they could push all the content right out of the view window)

QUOTE originally posted by Mirzam

Making them perfectly square could get a little tricky. If your ultimate goal is to have images, icons, or emojis as tabs, it might be easy. Then you could just set fixed heights and widths to match the images, and use flex to space them evenly on large and small screens. But if you're putting text in the tab headers, unless you're very careful you could make the tabs look odd or be hard to use on some devices... you could get weird text overflow issues, and tabs that don't fit correctly on mobile. There may be ways around this, especially if it's your own signature and you know exactly what you're going to put in the tabs. But if it's for others, I'm not sure. (Side note: If this was a post template instead of a signature you might have more options... it's not always ideal but at least you have relatively unlimited vertical space, so if your tabs wrap to a second row it doesn't matter as much. But for a signature, if your tabs are tall since they're squares, and wrap to a new line, they could push all the content right out of the view window)
Im only using it for icons - no text!

Pages: 123··· 1415161718··· 272829

Cannot post: Please log in to post

© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page