Danach wird die Grafik mittels CSS als Hintergrundbild eines HTML-Div-Elements das den Text enthält definiert.
Afterwards, the text will be included in the image with CSS code, which defines a layer that has the logo as a background image.
Als Beispiel nehmen wir an das wir die Anzahl an verwendeten Dekoratoren verringern will, und einen "gemeinsamen" Dekorator erstellt der die Darstellung von Label, Element, jegliche Fehlermeldung, und Beschreibung in einem HTML div übernimmt.
As an example, let's say you wanted to reduce the number of decorators you use, and build a "composite" decorator that took care of rendering the label, element, any error messages, and description in an HTML div.
Web/HTML/Element/div Das HTML div Element (oder HTML Document Division Element) ist ein generischer Container für...
Web/HTML/Element/div The HTML div element is the generic container for flow content and does not inherently represent...
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.