🔒 Closed Paassist lang ulet sa mga batak na web developer/designer jan

Status
Not open for further replies.

PHC Bor1s

Fanatic
Is there any way para mablur ko buong edge netong div na to? Para lang magblend siya ng maayos sa bg ko,pangit kasi tignan pag bg tas biglang color
IMG20190812204518.webp
 
Try mo 'to, paps. Paglaruan mo nalang ung height at width or lagyan mo ng padding para magkaroon ng margin tulad nung nasa screenshot mo.

(Preview: You do not have permission to view the full content of this post. Log in or register now.)

HTML:
<div class="mainDiv">
  <div class="blurredBackground"></div>
  Text mo dito ilagay.
</div>

CSS:
.mainDiv{
  position: relative;
  display: inline-block;
}

.blurredBackground{
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
    background-color: #ccc;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 473
    Views
  • 3
    Participants
Last reply from:
choppork

Trending Topics

Online now

Members online
1,275
Guests online
1,235
Total visitors
2,510

Forum statistics

Threads
2,280,236
Posts
28,996,068
Members
1,226,662
Latest member
MJ08Mapagmahal
Back
Top