cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div class="wrapper">
  <div class="tweet-cards">
    <div class="card-top">
    <div class="profile-pic">
      <img src="https://pbs.twimg.com/profile_images/428636828183175168/2L2vbJNY.jpeg"/>
    <div class="card-bottom">
      <p id="name">
        <a href="https://www.twitter.com/vicmakcy" target="_blank">@vicmakcy</a>
      <div class="tweet">My Design for tweet cards used in Tweet-Finder is now up on @CodePen. Check it out and let me know what you think!</div>
      <p id="date">10m</p>
              html {
  background: #00AAE7;

.wrapper {
  margin: 50px auto;
  text-align: center;

  background-color: #F4F4F4;
  margin: auto;
  border-radius: 2px;
  box-shadow: 3px 3px 3px #007BA8;

.tweet-cards .card-top{
  background-color: #007BA8;
  border-bottom: 4px solid #006E96;
  border-radius: 2px 2px 0px 0px;

.tweet-cards .profile-pic{

.tweet-cards .profile-pic img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  margin: -52px 0 0 6px;
  border: 4px solid white;

p#name a{
    text-decoration: none;
    font-family: arial, helvetica;
    color: #007BA8;
    font-weight: bold;
    position: relative;
    bottom: 8px;

    position: relative;
    bottom: 7px;
    width: 260px;
    height: 102px;
    word-wrap: break-word;
    text-align: center;
    line-height: 18px;
    margin: auto;
    font-weight: 200;
    font-family: helvetica neue;
    font-size: 0.95em;
    color: #545454;

  position: relative;
  text-align: right;
  margin: 0 25px 15px 0;
  font-family: helvetica;
  font-size: 0.8em;
  color: #919191;

Loading ..................