2017-07-13 10 views
0

(This is What I did)

(This is What I want)CSSパターン画像ボーダー

どのように私は標準で有効な方法で画像の赤い丸の周りに円形パターン化ボーダー-画像を行うことができますか?

良い提案が必要です。

よろしく

+0

http://www.jqueryscript.net/loading/Circular-Percentage-Loader-Plugin-with-jQuery-Canvas-ClassyLoader.html – Nimish

+0

ます。http://circle.firchow。 net/ – Nimish

+0

Googleとあなたはもっと見つかるでしょう – Nimish

答えて

1

私はパターンのために、このLINKを使用しています。あなたが好きなパターンを作成します。ご質問がありましたら、ご意見ください。

.circle { 
 
    position: relative; 
 
    background: repeating-linear-gradient(to right, #f6ba52, #f6ba52 10px, #ffd180 10px, #ffd180 20px); 
 
    -webkit-border-radius: 50px; 
 
    -moz-border-radius: 50px; 
 
    border-radius: 50%; 
 
    width: 100px; 
 
    height: 100px; 
 
} 
 

 
.circle:after { 
 
    position: absolute; 
 
    display: block; 
 
    top: 5px; 
 
    left: 5px; 
 
    width: 90px; 
 
    height: 90px; 
 
    content: ""; 
 
    background-color: #fff; 
 
    border-radius: 50%; 
 
}
<div class="circle"></div>