Looking to showcase div elements in a specific layout within my Angular project:
https://i.sstatic.net/RH0lF.png
The current HTML structure is as follows:
<div class="outer-wrapper">
<div class="image" ng-repeat="image in images" ng-if="showImages" ng-click="imageClick(image.id, image.color)">
<img src="{{image.path}}">
</div>
</div>
<div class="inner-wrapper">
<div class="box {{box.color}}" ng-repeat="box in boxes" ng-class="{'lit': box.isLit}" ng-click="boxClick(box.id)" ng-audio="sounds/beep-08b.mp3" volume="0.5">
</div>
</div>
Here is the corresponding CSS:
.outer-wrapper {
position: fixed;
top: 160%;
left: 32%;
width: 300px;
height: 300px;
background-color: #ddd;
}
.inner-wrapper {
position: fixed;
top: 300%;
left: 40%;
width: 150px;
height: 150px;
background-color: #9e9e9e;
}
/* Rest of the CSS properties */
Current output:
https://i.sstatic.net/Hxd2G.png
I am looking to modify my html/css to arrange these images at corners while ensuring they remain responsive. Any suggestions?