Created
November 8, 2014 21:04
-
-
Save shahariaazam/863a4a0c5c9a65a7e6e8 to your computer and use it in GitHub Desktop.
Bootstrap Ribbon CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="panel panel-default"> | |
| <div class="panel-body"> | |
| <div class="panel-info"> | |
| <div class="folded"> | |
| <h2 style="background-color: #DB874A;">CakePHP</h2> | |
| </div> | |
| <p><strong>Job Title:</strong> Senior CakePHP Developer</p> | |
| <p><strong>Position:</strong> Senior Software Engineer<br /> | |
| <strong>Deadline:</strong> 20 November 2014<br /></p> | |
| </div> | |
| <div class="panel-more1"> | |
| To build new CakePHP 3.x application. Update, fix, modify existing CakePHP 2.x applications. Developing plugins, building API, Third party tools integration etc.. | |
| </div> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .folded h2 { | |
| background: #08b; | |
| background-image: radial-gradient(transparent 30%, rgba(0, 0, 0, 0.2)); | |
| border: 0 solid rgba(0,0,0,0.2); | |
| color: #fff; | |
| font-size: 18px; | |
| font-weight: bold; | |
| position: relative; | |
| text-shadow: -1px -1px 1px rgba(0,0,0,0.2); | |
| } | |
| .folded:before, div.folded:after { | |
| bottom: 26px; | |
| content: ""; | |
| height: 28px; | |
| position: absolute; | |
| width: 48%; | |
| z-index: -1; | |
| } | |
| .folded:before { | |
| left: 2%; | |
| transform: rotate(-3deg); | |
| } | |
| .folded:after { | |
| right: 2%; | |
| transform: rotate(3deg); | |
| } | |
| .folded h2 { | |
| border-width: 1px 1px 2px; | |
| margin: 0; | |
| padding: 4px 40px; | |
| position: absolute; | |
| right: 2px; | |
| margin-top: -16px; | |
| } | |
| .folded h2:after { | |
| border-width: 7px; | |
| border-style: solid; | |
| border-color: #134 transparent transparent #134; | |
| bottom: -15px; | |
| content: ""; | |
| position: absolute; | |
| right: -1px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment