.example {/*親div*/
  position: relative;/*相対配置*/
  }

.example h1 {
  position: absolute;/*絶対配置*/
  color: blue;/*文字は白-青に*/
  top: 0;
  left: 0;
  text-align : left;

  }

.example img {
  width: 100%;
  }