CSS3 propriété nav-down
Exemples
Exiger que l'aide des touches fléchées pour naviguer où:
bouton # b1
{
top: 20%; gauche: 25%;
nav-index: 1;
nav-right: # b2; nav-left: # b4;
nav-down: # b2; nav-up: # b4;
}
bouton # b2
{
top: 40%; gauche: 50%;
nav-index: 2;
nav-right: # b3; nav-left: # b1;
nav-down: # b3; nav-up: # b1;
}
bouton # b3
{
top: 70%; gauche: 25%;
nav-index: 3;
nav-right: # b4; nav-left: # b2;
nav-down: # b4; nav-up: # b2;
}
bouton # b4
{
top: 40%; gauche: 0%;
nav-index: 4;
nav-right: # b1; nav-left: # b3;
nav-down: # b1; nav-up: # b3;
}
{
top: 20%; gauche: 25%;
nav-index: 1;
nav-right: # b2; nav-left: # b4;
nav-down: # b2; nav-up: # b4;
}
bouton # b2
{
top: 40%; gauche: 50%;
nav-index: 2;
nav-right: # b3; nav-left: # b1;
nav-down: # b3; nav-up: # b1;
}
bouton # b3
{
top: 70%; gauche: 25%;
nav-index: 3;
nav-right: # b4; nav-left: # b2;
nav-down: # b4; nav-up: # b2;
}
bouton # b4
{
top: 40%; gauche: 0%;
nav-index: 4;
nav-right: # b1; nav-left: # b3;
nav-down: # b1; nav-up: # b3;
}
Essayez »
support du navigateur
Les chiffres du tableau représentent le premier navigateur pour soutenir le numéro de version de la propriété.
Immédiatement après la -webkit- numérique, -ms- ou -moz- il y a à l'appui du préfixe d'attribut premier numéro de version du navigateur.
属性 | |||||
---|---|---|---|---|---|
nav-down | 不兼容 | 不兼容 | 不兼容 | 不兼容 | Supported in Opera 11.5-12. 不兼容于更新版本的浏览器 |
Définition des attributs et des instructions
nav-down réglementation de la propriété lors de l'utilisation de la touche de navigation nav-bas, où naviguer.
Par défaut: | auto |
---|---|
Héritage: | aucun |
Version: | CSS3 |
Syntaxe JavaScript: | objet .style.navDown = "# div2" |
grammaire
nav-down: auto | id |cible nom | inherit;
valeur | explication |
---|---|
auto | Décidez quel navigateur pour accéder à des éléments. |
ça | Fourniture était des éléments de navigation id. |
target-nom | Fourniture était la navigation cadre cible. |
hériter | Des dispositions doivent hériter de la propriété nav-down de valeur de l'élément parent. |