私はのポップアップをcssで作成しました。ここに私のコードです。フォントはChromeやFirefoxではなくSafariで動作します
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);
.popups-right {
background: #f57b20 none repeat scroll 0 0;
border-radius: 40px;
font-family: 'Oswald', sans-serif !important;
color: #fff;
font-size: 26px !important;
text-transform: uppercase !important;
font-weight: bold !important;
right: -120px;
padding: 15px;
position: absolute;
text-align: center;
width: 33%;
line-height: 40px;
}
.popups-right::after {
border-left: 0px solid transparent;
border-right: 54px solid transparent;
border-top: 20px solid #f57b20;
bottom: -12px;
content: "";
display: block;
height: 0;
position: absolute;
width: 0;
}
は、ここに私のHTML
コード
<div class="popups-right">
<h3 style="color: #34213e;">ready to get fixed?</h3>
<h3 style="color: #fff;">dont forget to include <br>this form in your order</h3>
<h3 style="color: #fff;">simply click on this image <br>and start typing</h3>
<h3 style="color: #fff;">please mark any areas you see <br>with pins. <span style="color: #34213e;">do not</span> use tape.</h3>
</div>
フォントがChrome
とFirefox
に期待どおりに動作しますがSafari
に偉大な動作していないです。私はこの問題については無知です。助けてください。
しかし、これは、それはChromeとFirefoxの上で作業している方法です。
ページはここに住んで提供されています:http://alterknit.staging.wpengine.com/packing-slip/
''は推奨されず、コンソールにエラーがあります。 – dippas
@dippas タグを使用しませんでした。私のコードを見てください。 – Sibidharan
' Alter Knit New York | MWS ProBeautyの245 W 29th St、9th Floor |ニューヨーク、ニューヨーク10001 | 212-473-6363(MEND)
Copyright 2015 © Knit NY LLC. All Rights Reserved. –
dippas