Unstoppable Domains โ€” Get your daily AI drops report

Drop Shadow

SpaceshipSpaceship
Watch

squarexdesign

Established Member
Impact
2
Hi i was wondering if any one knows how to create a shadow on a layout.


Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
well i know u can just add a dropshadow in photoshop and then just slice it, but i dont know if there's a way to add it thru code. there's prolly something that can be done with html borders.
 
0
•••
It can be done, I have shadows on text on several of my websites, see www.talkfreelance.com/olv

Look at the text on the left column, check the source...it's using div layers.
 
0
•••
thanks mate , but i cant see the code.do you know how u did it?
 
0
•••
squarexdesign said:
thanks mate , but i cant see the code.do you know how u did it?
HTML:
<style>
.s {
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
	position: relative;
}
.sS {
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	position: absolute;
	top: -1px;
	left: -1px;
}
</style>
<div class="s">Whatever text<span class="sS"></span>Whatever text</div>
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back