2
Hi, I know it sounds like a silly problem, but I’ve tried everything and searched everything! I can’t get this edge out of my image.
body {
border: none;
outline: none;
margin: 0;
padding: 0;
}
a img {
border: none;
outline: none;
}
a {
border: none;
outline: none;
}
header{
height: 60px;
width: 100%;
background-color: black;
}
.logo {
background: url(https://img.icons8.com/) no-repeat;
position: relative;
top: 5px;
left: 5px;
border: none;
outline: none;
width: 100px;
height: 50px;
}
<html lang="pt">
<head>
<title>Teste</title>
<meta charset="utf-8">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header class="header">
<div class="logo-radical"><a href="#">
<img class="logo"></a></div>
</header>
</body>
</html>
I removed the edge of the two, the image and the link but it still doesn’t work, I’m using an image class because I intend to change it through js, but it seems that this edge doesn’t come out at all :/
– Jordão Qualho
this code works for me, so to help you better need to replicate exactly your problem, can do this by placing the code with the image here on the site?
– Ricardo Pontual
Okay, I put an image
– Jordão Qualho