<style>
.DHDWDG10005--total-flagged-gripes_firstsq {
width: 214px;
height: 219px;
}
.Rectangle-secondSq {
width: 139px;
height: 139px;
background-color: #ffffff;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.31);
padding-left: 15px;
}
.layerFornumber {
width: 30px;
height: 62px;
font-family: PTSans;
font-size: 48px;
letter-spacing: 3.7px;
text-align: left;
color: #ff4d4d;
}
.Total-Flagged-Gripes_message {
width: 95px;
height: 32px;
font-family: PTSans;
font-size: 14px;
line-height: 1.14;
letter-spacing: 1.1px;
text-align: center;
color: #4a4a44;
}
.RectangleButtomsq{
width: 118px;
height: 36px;
border-radius: 5px;
background-color: #ffffff;
box-shadow: 1px 2px 4px 0 #e6e6e6;
border: solid 1px #e6eaee;
}
.Today {
width: 49px;
height: 20px;
font-family: PTSans;
font-size: 16px;
letter-spacing: 1.2px;
text-align: left;
color: #4a4a4a;
}
.Shapedropdown {
width: 24px;
height: 24px;
}
</style>
<html>
<header>
</header>
<body>
<div class="DHDWDG10005--total-flagged-gripes_firstsq">
<div class="Rectangle-secondSq">
<div class="layerFornumber">
4
</div>
<div class="Total-Flagged-Gripes_message">
Total Flagged Gripes
</div>
<div class="RectangleButtomsq">
<select class="Shapedropdown">
<option class="Today">Today</option>
</select>
</div>
</div>
</div>
</body>
</html>
.Rectangle {
width: 118px;
height: 36px;
border-radius: 5px;
background-color: #ffffff;
box-shadow: 1px 2px 4px 0 #e6e6e6;
border: solid 1px #e6eaee;
}
.Today {
width: 49px;
height: 20px;
font-family: PTSans;
font-size: 16px;
letter-spacing: 1.2px;
text-align: left;
color: #4a4a4a;
}
.Shape {
width: 24px;
height: 24px;
}
.Shape {
width: 10px;
height: 5px;
background-color: #000000;
}
<style>
.flagged-outer {
width: 214px;
height: 219px;
background-color: white;
border: 1px solid black;
font-family: PTSans;
font-size: 14px;
color: #4a4a44;
line-height: 1.14;
letter-spacing: 1.1px;
}
.inner-center {
box-sizing: border-box;
margin: 41px auto 1px auto;
padding: 0 8px;
width: 139px;
height: 139px;
text-align: center;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.31);
}
.inner-center p{
margin: 0;
padding-top: 3px;
font-size: 48px;
color: #ff4d4d;
}
.inner-center select{
width: 94%;
height: 2.5em;
padding:2px;
margin: 4px 0 1px 0;
border-radius:4px;
box-shadow: 1px 2px 4px 0 #ccc;
border:none;
outline:none;
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
}
.inner-center label {
position:relative
}
.inner-center label:after {
position: absolute;
right: 7px;
bottom: 1px;
height: 0;
width: 0;
border: 5px solid transparent;
border-top-color: black;
content: "";
}
.inner-center label:before {
content:'';
right:3px;
top:-2px;
width:20px;
height:20px;
background:#fff;
position:absolute;
display:block;
}
</style>
<div class="flagged-outer">
<div class="inner-center">
<p>4</p>
Total Flagged Gripes<br />
<label><select>
<option>Today</option>
<option>toMorrow</option>
<option>yeSTerday</option>
</select></label>
</div>
</div>
The <select> is a browser system display, and will have some various CSS differences for CSS allowed in display for different browsers. My code above was used in firefox, and not tested in any other browser.
Open in new window