Style tag

Ideas and discussion


Post Reply
User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Style tag

Post by puppy_apprentice »

Linear gradient
Shadow
Neon

Attention, Achtung, Uwaga!

Rounded box

Code: Select all

[style=background-image: linear-gradient(red, yellow);font-weight: bold]Linear gradient[/style]
[style=text-shadow: 2px 2px 5px grey]Shadow[/style]
[style=text-shadow: 0 0 3px #FF0000]Neon[/style]

[style=outline-style: dashed; outline-color: red; color: red]Attention, Achtung, Uwaga![/style]
[style=border: 2px solid red;border-radius: 5px]Rounded box[/style]
User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 365 times

Re: Style tag

Post by Grey »

puppy_apprentice wrote: Thu Sep 29, 2022 4:56 pm

Linear gradient

Add purple, modify a little and it will be almost like a typical background in Amiga games :)

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: Style tag

Post by puppy_apprentice »

Yep. I want to present some Amiga games i future. So I'll use it to make the mood ;)

User avatar
MochiMoppel
Posts: 1134
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 18 times
Been thanked: 368 times

Re: Style tag

Post by MochiMoppel »

This is a test
Let's see if and how the position attribute works. Goal is to stack 2 images
(actually I'm using no images for the post, just Unicode characters)
padding-top for text after image doesn't work

🏞️

🏃🏽‍♀️









First line after image. Ugly workaround to fool BB software, using preceding Unicode FIGURE SPACEs

User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: Style tag

Post by puppy_apprentice »

Image
Pseudo 3D effects:
ridge
Image
groove
Image
inset
Image
outset
Image

Code: Select all

[style=margin: 30px; outline: 2px ridge black][img]https://forum.puppylinux.com/download/file.php?avatar=1673_1617317712.jpg[/img][/style]
[style=margin: 30px; outline: 2px groove black][img]https://forum.puppylinux.com/download/file.php?avatar=1673_1617317712.jpg[/img][/style]
[style=margin: 30px; outline: 2px inset black][img]https://forum.puppylinux.com/download/file.php?avatar=1673_1617317712.jpg[/img][/style]
[style=margin: 30px; outline: 2px outset black][img]https://forum.puppylinux.com/download/file.php?avatar=1673_1617317712.jpg[/img][/style]
Last edited by puppy_apprentice on Tue Oct 04, 2022 12:52 pm, edited 1 time in total.
User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 365 times

Re: Style tag

Post by Grey »

puppy_apprentice wrote: Mon Oct 03, 2022 2:58 pm

Pseudo 3D effects:

I used to be quite good at finding differences in tasks like "find 10 differences between these two pictures". But in this case, all four Rexes look the same to me.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: Style tag

Post by puppy_apprentice »

Look at the borders. Some give the impression that the image is concave or convex.

User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 365 times

Re: Style tag

Post by Grey »

puppy_apprentice wrote: Mon Oct 03, 2022 5:49 pm

Look at the borders. Some give the impression that the image is concave or convex.

No, I still don't see it :( Maybe something with a browser or vision, plus a curved monitor.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: Style tag

Post by puppy_apprentice »

If you turn off pictures you will see borders that give pseudo 3D effect.

pseudo3d.jpg
pseudo3d.jpg (5.71 KiB) Viewed 330 times
User avatar
MochiMoppel
Posts: 1134
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 18 times
Been thanked: 368 times

Re: Style tag

Post by MochiMoppel »

puppy_apprentice wrote: Tue Oct 04, 2022 12:54 pm

If you turn off pictures you will see borders that give pseudo 3D effect.

I didn't see the effect either because

a) you forced the frame color to be black. You should do this only when you are sure what the background color is. Browsers may be set to "dark mode" and some of the themes of this forum also set the background to black. The solution is to set no color at all. In this case the browser or forum SW will find a suitable gray tone.

b) 2px width is too small for making the effect recognizable.

This uses 10px:

Image

Code: Select all

​[style=margin: 30px; outline: 10px ridge][img]https://forum.puppylinux.com/download/file.php?avatar=1673_1617317712.jpg[/img][/style]
User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: Style tag

Post by puppy_apprentice »

To big border for me. I wanted to achieve something like:

pseudo3dbuttons.jpg
pseudo3dbuttons.jpg (7.5 KiB) Viewed 318 times

I should add background and bigger margins, padding etc.?

Post Reply

Return to “Forum Organization & Structure Council”