OSAMA E
OSAMA E

Reputation: 341

How to make background color of image transparent?

I have an arrow image, I would like to make its background color to be equal to default background which is lightblue. Also at the border of the image there are some white spaces which I am trying to remove. I used opacity property but that is not helping in achieving this styling.

Here is my css code

.rm-section .rm-links .m .rm p:after {
  overflow: hidden;
  border-radius: 150px;
  content: url(/etc/designs/fai/clientlibs/base/images/down_arrow_icon.jpg);
  display: inline-block;
  vertical-align: middle;
padding: 24px;
  margin: 0px;
}

Upvotes: 3

Views: 473

Answers (1)

Wassim Al Ahmad
Wassim Al Ahmad

Reputation: 1094

Follow these steps it's very simple

  1. Burn the background image online at the following website link

  2. Download it from png

  3. Do not set the background of the image in css

Example Image See the Next and Back buttons link

Upvotes: 3

Related Questions