david688888
@david688888All comments
- @colinrodneySubmitted over 3 years ago@david688888Posted over 3 years ago
for me, i set the container "overflow" property to "hidden" and then i set the border radius. like this :
container{ overflow:hidden; border-radius:(up to you); }
I know it may be seems weird but it works!
source : https://stackoverflow.com/questions/49592610/css3-border-radius-not-working-for-div-element/49592714
Marked as helpful1 - @Filippo-BSubmitted over 3 years ago
I wrote a simple function in SCSS to convert any px value into rem. I would like to have some feedbacks on that. Also, often I have difficulties centering the main container vertically. What method do you use? Thanks.
@david688888Posted over 3 years agoto align the flex item vertically, first you need to adjust the flex container height. im using vh css unit for my code. i set it to min100vh because 100vh = your device screen height, so the height of the flex container is automatically adjusted to your screen height. Im sorry for the bad explaination because im not from a english speaking country
heres some resource: https://www.w3schools.com/cssref/css_units.asp https://www.w3schools.com/css/tryit.asp?filename=trycss3_align_flex
1