I'm trying to get a button to change opacity of a container when button:focus but it doesn't seem to work.

here is a example of button:

```
  <button type="button" class="bpi" id="bpi1">1519</button>

```

here is an example of container:

```
<div class="infospi" id="ipi1"> lorem ipsum </div>

```

here is the css that's not working:

```
    .infospi{
  width:400px;
  height:300px;
  background: #ff63b5;
  border-radius: 3px;
  position: absolute;
  top:150px;
  color:white;
  padding: 20px 20px;
  text-align: justify;
  opacity: 0;
  transition: 0.5s ease;
}

#bpi1:focus #ipi1{
  opacity: 0.8;
  }

```