skip to Main Content

Loop to assign mixins to classes in scss

I want to assign several @mixins to classes with the same name, something like: @each $herramienta in $listaHerramientas { .#{$herramienta} { @include #{$herramienta}; } } The compiler throws the error Expected identifier, which seems to mean the @include does not…

VIEW QUESTION

Html – CSS displays wrong on iphoneX

I'm working on a portfolio project and I'm running into errors I don't understand. I just completed the responsive design for 480px and 768px screens. Here is the link to the site: https://tranthanhhthao.github.io/swinburne-contact/ Using the computer Chrome browser everything looks…

VIEW QUESTION

Html – Response of my div after I trigger a function

Consider I have this simple div: <div class="diamond"><span class="material-symbols-outlined" id="locks">lock</span></div> The CSS for this is below: .rotate-and-change { transform: rotate(360deg); } .diamond { aspect-ratio: 1 / 1; margin: 0px -2px; background-color: #f44336; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0%…

VIEW QUESTION
Back To Top
Search