创建带有文本的固定SVG页脚的问题

时间:2019-05-27 15:37:42

标签: css

我对代码很陌生,页脚存在一些问题... 我不知道如何在其上添加文本。它在我的页脚的顶部或底部...

footer {
  position:fixed;
  bottom:0px;
  left:0;
  height: 77px;
  width: 100%;
  margin: auto;
}

footer h1 {
  font: 30px "Elastik-B";
  color: black;
  right:300px;
})
<footer>
<div class="footer">






    <svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 1670 97" preserveAspectRatio="none">
<g>
    <path fill="#FE4A11" d="M1669,52.659V97H847.357H0V52.659l122.675-16.814l142.712,3.871c0,0,231.45-27.464,236.787-27.78
        c5.336-0.316,272.148,27.132,272.148,27.132l198.221-14.81l360.398,14.679l231.414-15.818L1669,52.659z"/>
    <path fill="#FE4A11" d="M1669,52.659V97H847.357H0V52.659l122.675-16.814l142.712,3.871c0,0,231.45-27.464,236.787-27.78
        c5.336-0.316,272.148,27.132,272.148,27.132l198.221-14.81l360.398,14.679l231.414-15.818L1669,52.659z"/>
</g>
</svg>
<h1>27.05.19</h1>
</div>
</footer>

0 个答案:

没有答案