title: CSS Animation for hover rotate()
body: <p>I have a row in my page and I want the space in between the borders of the boxes along with keeping the boxes the same size on rotate. The animation is what I want it's that they squares are turning into rectangles and also I don't seem to know how to make them look as stand alone squares with the borders?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.statementnews {
      border-style: solid;
      border-width: 1px;
      padding-left:2em;
      /* width: 3vw; */
      /* height: 3vh; */
      /* justify-content: space-between; */
      /* margin-right: 1em; */
      transition: width 2s, height 2s, background-color 2s, transform 2s;
  }
  .statementnews p {
      text-align: wrap;
      margin-left:1em;
      margin-right:1em;
      background-color: #F0F0F0;
  }
  .statementnews:hover {
      width: 1em;
      height: 1em; 
      transform: rotate(360deg);
  }
  .mycolumn2 {
      /* display: table-cell; */
      margin-top: 2em;    
      /* width:100%; */
      text-align: wrap;
  }
  
  .mycolumn2 div {
      width:100%;
      display: table-cell;
      padding-top: 1em;
      width: 25vw;
      height: 3vh;
      justify-content: space-between;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="row sectionthird"&gt;
              &lt;h1 class="mycolumn_header"&gt;What they’ve said&lt;/h1&gt;
                  &lt;div class="mycolumn2" id="content2"&gt;
                      &lt;div class="statementnews" id="content2"&gt;
                          &lt;img src="https://i.imgur.com/19iZKat.png" alt=""&gt;
                           &lt;p&gt;“Manage has supercharged our team’s workflow. The ability to maintain 
                            visibility on larger milestones at all times keeps everyone motivated.”&lt;/p&gt;
                            &lt;p&gt;~Anisha Li&lt;/p&gt;
                      &lt;/div&gt;
                      &lt;div class="statementnews" id="content2"&gt;
                          &lt;img src="https://i.imgur.com/nywqgF7.png" alt=""&gt;
                          &lt;p&gt; “We have been able to cancel so many other subscriptions since using 
                            Manage. There is no more cross-channel confusion and everyone is much 
                            more focused.”&lt;/p&gt;
                            &lt;p&gt;~Ali Bravo&lt;/p&gt;
                      &lt;/div&gt;
                      &lt;div class="statementnews" id="content2"&gt;
                          &lt;img src="https://i.imgur.com/TAe4vVN.png" alt=""&gt;
                          &lt;p&gt;“Manage allows us to provide structure and process. It keeps us organized 
                                and focused. I can’t stop recommending them to everyone I talk to!”&lt;/p&gt;
                              &lt;p&gt;~Richard Watts&lt;/p&gt;
                      &lt;/div&gt;
                      &lt;div class="statementnews" id="content2"&gt;
                          &lt;img src="https://i.imgur.com/dnBxz07.png" alt=""&gt;
                            &lt;p&gt;“Their software allows us to track, manage and collaborate on our projects 
                            from anywhere. It keeps the whole team in-sync without being intrusive.”&lt;/p&gt;
                            &lt;p&gt;~Shanai Gough&lt;/p&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
          &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>