ทำกรอบ Friends ให้ใสจนเห็นแบล็คกราวน์

การแต่งส่วนของเพื่อน (Friends) ให้มีลูกเล่นแบบภาพใสๆ เพื่ออยากจะโชว์ฺแบล็คกราวน์ (BG) ที่เราอุตสาห์ทำเสียสวยแต่บางทีก็มีภาพต่างๆ มาบดบัง แต่จะชัดขึ้นก็เมื่อนำเมาส์ไปชี้ที่ภาพนั้น สมารถแต่งโดยใช้โค้ดได้ 2 แบบดังนี้
1. คลิกที่ My Profile
2. คลิก Edit My Basic info
3. คลิก Interests
4. กรอกโค้ดด้านล่างในช่องใดช่องหนึ่ง

ทำให้กรอบ Friends ให้ใสจนเห็นแบ็คกราวน์ ทำได้ 2 แบบ

-เมื่อนำเมาส์ไปวางแล้วรูปจะชัดขึ้น

<style type="text/css">
.friend-picture {border:none; margin-left: 0px;background:url( );}
.friend-picture a img {width:100px; height:100px !important; }
.friend-picture {height:100px !important;width:100px!important}
.friend-picture img {filter:alpha(opacity=30)}
.friend-picture a:hover img { filter: none;}
.friend-name {display:none}
</style>

-เมื่อนำเมาส์ไปวางแล้วรูปจะชัดขึ้น แล้วมีชื่อเพื่อนแสดงด้วย
<style type="text/css">
.friend-picture {border:none; margin-left: 0px;background:url( );}
.friend-picture a img {width:100px; height:100px !important; }
.friend-picture {height:100px !important;width:100px!important}
.friend-picture img {filter:alpha(opacity=30)}
.friend-picture a:hover img { filter: none;}
</style>


0 ความคิดเห็น:

Post a Comment