Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Add Very Subtle Drop Shadow (CSS) To Element (HTML)

/*CSS/STYLE.CSS START*/
p {
    padding: 10px;
}

.box {
    padding: 20px;
    width: 50%;
    margin: 30px auto;
    background: #666;
    color: #fff;
}

/* offset-x | offset-y | blur-radius | spread-radius | color */
#box1 {
    box-shadow: 0px 2px 7px 1px grey;
}
/*CSS/STYLE.CSS STOP*/

----------------------------------------------------------------------------

/*HTML START*/
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="box1" class="box">Box1</div>
<div id="box2" class="box">Box2</div>
<div id="box3" class="box">Box3</div>
</body>
</html>
/*HTML STOP*/
Comment

PREVIOUS NEXT
Code Example
Css :: box-shadow in css 
Css :: keyframe in css 
Css :: type selector css 
Css :: how to make scroller show only on hover of container 
Css :: sticky footer not working bootstrap 
Css :: css delay between animation iterations 
Css :: css scrollbar position to bottom 
Css :: animation fade in css 
Css :: css background overlay 
Css :: multiple box shadows css 
Css :: disable checkbox click event 
Css :: css focus change color 
Css :: CSS adding background image from file 
Css :: add background video to div css 
Css :: how to horizontally center header at the top of page with flexbox css 
Css :: opacity 
Css :: css coor background 
Css :: change text in a div css 
Css :: check ssh port 
Css :: define element opacity css 
Css :: Bootstrap Carousel Custom Width 
Css :: wpforms submit button css 
Css :: backgroud color css 
Css :: css scroll height if screen too small 
Css :: difference between pseudo elements and pseudo classes 
Css :: how to make bold text css 
Css :: bounced in css animation 
Css :: loading animation css 
Css :: css flex add second row 
Css :: input focus css default 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =