Latest solutions
Crowdfunding product page with SASS/Typescript and Vite
#sass/scss#typescript#viteSubmitted over 2 years agoCSS GRID, VITE BUNDLER, TYPESCRIPT, VANILLA JS, SASS, FETCH
#accessibility#fetch#vite#sass/scssSubmitted about 3 years agoSass function, vite bundler, typescript, include, css variables....
#sass/scss#typescript#vite#accessibilitySubmitted about 3 years ago
Latest comments
- @quadri101@Benjoow
Hello quadri!
I saw that you had a problem with the border-radius of your cards. I advise you to change the size of the border-radius of your bottom card by setting it to a smaller value. That should solve your problem !
Congratulations for your project !
- @11arshaan@Benjoow
Hello Arshaan !
That's a good start :-). You need to focus on css not on bootstrap if you want to be a developper. Take your time and practice your html structure. It's important and your css will be easier to write.
I use mobile first approche and combinaison of width and max-width property, like this : width: 80% and max-width: (the value of your card component). The idea is to start with mobile resolution and expense your window until deskop resolution. For this exercice you don't need media queries.
I recommend you to train your responsive with this website : https://courses.kevinpowell.co/conquering-responsive-layouts. It's will more simpler after that :-)
Marked as helpful - @BarriosPabloOk@Benjoow
Hi pablo !
I doesn't know inset property, that's pretty cool ! I have a question for you. Why do you use a container for your card ?
Little trick i learned while ago : You can use rgb and hsl for transparency exactly like rgba or hsla.
Have a good day :-)
- @crizalid12@Benjoow
Hello crizalid !
For your hover, you can set your after pseudo element with opacity to 0 and add your icon view with "content: url()". I personnaly recommand to set display of your pseudo element in flex and align your icon view with this. It's more simpler than your solution. For your hover element, you set the opacity to 1 AND your background with another system color like rgba or hsla, like this : background: rgba(color num, color num, color num, transparency)