News Accueil

Terrible

Libre-service de codages pour vos forums


Strange bubble

par Awful le le Sam 17 Juin - 20:31

We live in a strange bubble !

★ Feat Alias One and Alias Two

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Je suis un dialogue ! Je m'allonge selon le texte que je contiens.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Wouahou ! On peut aussi faire des réponses ! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


Pour faire une bulle "réponse" (à droite), ajoutez la class reponse à la div .bubble-dialogue

L'image fait 90*90 pixels


Code:
<link href='https://fonts.googleapis.com/css?family=Vidaloka|Roboto+Condensed:400,700' rel='stylesheet' type='text/css'><style> .bubble-wrap { width: 400px; height: auto; background: #E9EDF3; position: relative; margin: auto; font: 11px/11px 'Roboto Condensed', sans-serif; } .bubble-wrap h2 { height: 100px; background: #4F91B5; color: #DDE3EB; border-bottom: 4px solid #3A75A8; position: relative; padding: 30px 70px 0 20px; font-family: 'Vidaloka', serif; font-size: 30px; line-height: 28px; margin: 0; } .bubble-wrap .bubble-icon { border-radius: 50%; border: 5px solid #4F91B5; width: 90px; height: 90px; position: absolute; top: 20px; right: -50px; } .bubble-wrap h3 { margin: 0; color: #458CB2; padding: 5px 0 0 15px; text-transform: uppercase; font-size: 11px; font-weight: normal; letter-spacing: 1px; white-space: nowrap; } .bubble-content { text-align: justify; padding: 20px 40px; line-height: 1.3em;} .bubble-content strong { color: #4F91B5; } .bubble-dialogue { position: relative; min-height: 20px; padding: 15px 20px;background: #FBFFFF; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border-right: 1px solid #E2E2E2; border-bottom: 1px solid #E2E2E2;box-sizing: border-box; } .bubble-dialogue:after { content: ''; position: absolute; border-style: solid; border-width: 5px 15px 5px 0; border-color: transparent #FBFFFF; width: 0; z-index: 1; left: -15px; } .reponse { border-left: 1px solid #E2E2E2; border-right: 0; } .reponse:after { content: ''; position: absolute; border-style: solid; border-width: 5px 0 5px 15px; border-color: transparent #FBFFFF; width: 0; z-index: 1; left: initial; right: -15px;} .bubble-footer { height: 30px; background: #4F91B5; border-bottom: 4px solid #3A75A8; } .bubble-footer-content { color: #E9EDF3; text-align: center; padding: 10px; } .bubble-credit a{ font-size: 7px;letter-spacing: 2px; color: #B1B1B1!important; text-decoration: none!important; bottom: -15px;position: absolute;text-transform: uppercase;} </style>
<div class="bubble-wrap"><h2>We live in a strange bubble !</h2><!--
--><h3>★ Feat Alias One and Alias Two</h3><!--
--><img src="http://image.noelshack.com/fichiers/2017/51/3/1513798975-3012841715-0-3-dmywwdgd.png" class="bubble-icon" alt="" /><!--
--><div class="bubble-content">Votre texte ici
<div class="bubble-dialogue">Bulle de dialogue</div>
<div class="bubble-dialogue reponse">Bulle de dialogue réponse</div>
</div><!--
--><div class="bubble-footer"><div class="bubble-footer-content"> Notes / ### tags / words </div></div><div class="bubble-credit"><a href="http://terrible.forumactif.org/" target="_blank">awful</a></div></div>