.back-ground
{
background-image: url('http://pencil.my/assets/img/dashboard/bg.png');
background-repeat: repeat;
overflow-x: hidden;
}
.note {
position: relative;
width: 30px;
padding: 1em 1.5em;
margin: 2em auto;
color: #fff;
background: #97C02F;
overflow: hidden;
border-radius: 4px;
}
.note:before {
content: "";
position: absolute;
top: 0;
right: 0;
border-width: 0 16px 16px 0;
border-style: solid;
border-color: #fff #fff #658E15 #658E15;
background: #658E15;
display: block;
width: 0;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}
<div class="back-ground">
<div class="note">
Sample note
</div>
</div>
Code Example |
---|
Css :: how to make focus outline round in html |
Css :: on class hover another class color change |
Css :: html css landing page |
Css :: css class selector |
Css :: division in css |
Css :: table vertical align center |
Css :: google font smooth |
Css :: css child selector |
Css :: css animation left to right infinite codepen |
Css :: svg tailwind |
Css :: css menu horizontal |
Css :: 3d rotating text css |
Css :: flex css |
Css :: select focus none |
Css :: css focus input change another element |
Css :: css make a cell twice as big flexbox |
Css :: html css practice projects |
Css :: fitler css for making white img |
Css :: advance css |
Css :: css code for margin |
Css :: why grepper not always shows |
Css :: select tag text align center |
Css :: vue scoped scss media query |
Css :: to cut a box in cs |
Css :: css locks |
Css :: width cross browser |
Css :: gh: stop using --force !!! |
Css :: ubuntu tor browser verification failed |
Css :: grape change status code |
Css :: step progress bar css |