创建一个reponsive事件标记

时间:2016-10-11 08:24:15

标签: css web responsive-design

我想让我的标记响应我有一个链接<a>属性和定义的类fc-event我希望将它放在我<td>thead的内部或后面。

<table>
   <thead>
      <tr>
          <td><span class="fc-day-number">10</span></td>
      </tr>
   </thead>
   <tbody>
      <tr>
         <a class=" fc-event "><div class="fc-content"><span>12a</span></div></a>
      </tr>
   </tbody>
</table> 

以下是我唯一使用的问题是它没有响应

.fc-event {
     display: block; /*This is the approach*/
     border-radius: 100%;
     width: 40px;
     height: 40px;
     background-color: rgba(3,169,244,0.71);
     top: 1;
     margin-left: 5%;
}

enter image description here

0 个答案:

没有答案