« Web, HTML, Tech Forum

how do I get cool awesome borders?

how do I get borders like this I've been looking up things for a while but can't find anything but basic squares. how do I get cool 3dish borders


Report Topic

1 Reply

Reply by Gluma

posted
updated

You can look up all the different border types HTML has to offer! For the 3D border in your image, it looks to be an outset border. There’s also rounded borders, but that’s pretty self-explanatory. You’d insert a border by doing this, for example:

.blurbs {

border: 2px outset gray;

}

Note that the color does not change the border’s shadow! The shadow changes on its own with the color :0

edit: lmao it took me a day to realize I spelled "outset" as "output" im so sorry if I confused anyone


Permalink Report Reply