Orientación

Orientaciones:

HTML + CSSFiltres

Rose des vents d'orientation

Une boussole sur parchemin à huit secteurs : indique l'orientation du logement et l'aiguille pivote avec un effet ressort.

Réglages

16px
1x

Code

<fieldset class="uvq05-cp"><legend>Orientation</legend><div class="rs"><div class="dl"><label style="--i:0"><input type="checkbox" aria-label="Nord"><span class="w"></span></label><label style="--i:1"><input type="checkbox" aria-label="Nord-est"><span class="w"></span></label><label style="--i:2"><input type="checkbox" aria-label="Est" checked><span class="w"></span></label><label style="--i:3"><input type="checkbox" aria-label="Sud-est" checked><span class="w"></span></label><label style="--i:4"><input type="checkbox" aria-label="Sud" checked><span class="w"></span></label><label style="--i:5"><input type="checkbox" aria-label="Sud-ouest"><span class="w"></span></label><label style="--i:6"><input type="checkbox" aria-label="Ouest"><span class="w"></span></label><label style="--i:7"><input type="checkbox" aria-label="Nord-ouest"><span class="w"></span></label></div><svg class="st" viewBox="0 0 100 100" aria-hidden="true"><path d="M50 50L60 40L50 4L40 40z" fill="#7a5a2a"/><path d="M50 50L60 60L50 96L40 60z" fill="#7a5a2a"/><path d="M50 50L60 40L96 50L60 60z" fill="#a9844a"/><path d="M50 50L40 40L4 50L40 60z" fill="#a9844a"/><path d="M50 50l6-6 18-18-24 12zM50 50l6 6 18 18-24-12zM50 50l-6 6-18 18 24-12zM50 50l-6-6-18-18 24 12z" fill="#c9a86a" opacity=".8"/></svg><span class="cd cn" aria-hidden="true">Nord</span><span class="cd ce" aria-hidden="true">Est</span><span class="cd cs" aria-hidden="true">Sud</span><span class="cd cw" aria-hidden="true">Ouest</span><span class="nd" aria-hidden="true"></span><span class="hub" aria-hidden="true"></span></div><p class="ct"><span>Orientations :</span> <span class="n"></span></p></fieldset>

Prompt pour l’IA

Collez-le dans ChatGPT, Claude ou Cursor : le bloc sera adapté à votre projet avec ces réglages, même sans React.

Version Markdown avec tout le code, pour les assistants IA

Plus dans Filtres

Voir tout : Filtres

Où l’utiliser

L'orientation compte quand on cherche un logement, une terrasse ou des panneaux solaires, et une boussole la montre mieux qu'une liste de mots. Huit secteurs à case à cocher sont découpés dans un cercle sur un cadran en parchemin avec couronne graduée, chaque choix remplit son secteur depuis le centre et l'aiguille tourne par le plus court chemin.

La première couleur remplit les secteurs choisis et la pointe de l'aiguille, la seconde règle le parchemin. Garde des noms cardinaux courts dans les autres langues et affiche aussi les orientations choisies en texte près des résultats.