From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/es/glossary/mixin/index.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 files/es/glossary/mixin/index.html (limited to 'files/es/glossary/mixin') diff --git a/files/es/glossary/mixin/index.html b/files/es/glossary/mixin/index.html new file mode 100644 index 0000000000..82336147de --- /dev/null +++ b/files/es/glossary/mixin/index.html @@ -0,0 +1,34 @@ +--- +title: Mixin +slug: Glossary/Mixin +translation_of: Glossary/Mixin +--- +

Un mixin es un conjunto coherente de {{glossary("method","métodos")}} y {{glossary("property","propiedades")}} implementadas por otras interfaces y {{glossary("class","clases")}}.

+ +

Ejemplo

+ +

@mixin nombre_del_mixin{

+ +

    width: 100% ;

+ +

}

+ +

La forma más común de llamar a un mixin y aplicar esas propiedades y métodos es el include (ejemplo @include nombre_del_mixin ). Al utilizar el include para llamar las propiedades y métodos incluidos en el mixin, son entonces parte de la nueva interfaz.

+ + + +

Aprende más

+ +

Conocimiento general

+ + + +

Referencia técnica

+ + + +

 

-- cgit v1.2.3-54-g00ecf