Menu

How to declare two classes for element with SCSS?

Below is an example of SCSS code using that we are generating two classes that are being use for the same html element.

SCSS code

.image-text {
@media(max-width:600px){
        &--celebrate-page .image-text {
            &__htext.image-text__htext {
                
                &--v {
                    &-center {
                        margin-top: -20%;
                    }
                }
            }
        }
    }
}


Result in CSS

@media (max-width: 600px) {
	 .image-text--celebrate-page .image-text__htext.image-text__htext--v-center {
		 margin-top: -20%;
	}
}
 

Package contains application content which isn't supported at runtime

Problem statement

Error while uploading the package in AMasCS; Package (or it's subpackage(s)) contains application content which isn't supported at runtime.

Possible reason

The package which you are trying to upload is not allowed. If that is your project code package, please use the cloud manager pipeline to build and deploy the code to AEMasCS env.

List of 2022 Nobel prize winners - Chemistry | Economic Science | Literature | Medicine | Peace | Physics

 Nobel prize is given to people who worked extraordinary in the field of Chemistry, Economic Science, Literature, Medicine, Peace and Physics in memory of Adolf Nobel. In year 2022 following people received the Nobel prize in their respective fields.


Nobel Prize for Chemistry

Carolyn R. Bertozzi, Morten Meldal and K. Barry Sharpless won the Nobel prize in Chemistry for year 2022.



Nobel Prize for Economic Science

Ben S. Bernanke, Douglas W. Diamond, and Philip H. Dybvig awarded with the Nobel prize in economic science in year 2022.



Nobel Prize for Literature

In year 2022 Annie Ernaux won the Nobel prize of Literature. She is an American poet and essayist.

Nobel Prize for Medicine

In year 2022 Svante Pääbo won Nobel prize of Medicine. 

Nobel Prize for Peace

Ales Bialiatski won the Nobel prize for peace in year 2022. This prize they won for their work in conflict or war zone area to feed the people. 




Nobel Prize for Physics

Alain Aspect, John F. Clauser, and Anton Zeilinger won the Nobel prize in Physics for year 2022.