One challenge I am currently facing involves stacking divs designed to resemble sticky notes in such a way that the bottom part of each div extends out. To achieve this, my initial thought was to style the topmost div
conventionally and only apply styling to the visible parts using the bottom divs. My dilemma arises when considering the consistent application of border-radius
to all divs. If I choose not to stack them equally in terms of width and height, any border-radius modification on the top div will not match those applied to the lower divs due to varying dimensions.
<div class="stickynote1"> content <div>
<div class="stickynote2"> content <div>
<div class="stickynote3"> content <div>
- Is there a solution to rectify the border-radius inconsistency without mandating uniform dimensions for all divs?
- If I decide to standardize the width and height of all divs, how can I successfully stack them? The combination of position:relative and z-index on the divs seems ineffective as position:relative establishes a new container block, hindering z-index compatibility with other new container blocks of the divs.