Html span之间css转换的问题
我正在尝试更改按钮中的文本。颜色中的过渡效果很好,但跨度位置上的过渡不起作用 这是我的密码:Html span之间css转换的问题,html,css,Html,Css,我正在尝试更改按钮中的文本。颜色中的过渡效果很好,但跨度位置上的过渡不起作用 这是我的密码: <style> #btnIniciarFacturacion{ width: 200px; height: 30px; } #btnIniciarFacturacion { position: relative; -webkit-transition: 2s; transition: 2s; overflow: hidden; } .b
<style>
#btnIniciarFacturacion{
width: 200px;
height: 30px;
}
#btnIniciarFacturacion {
position: relative;
-webkit-transition: 2s;
transition: 2s;
overflow: hidden;
}
.btnIniciarFacturacion-content {
position: absolute;
left:0;
top:0;
font-size: 20px;
font-weight: bolder;
}
#btnIniciarFacturacion:hover{
background-color: orange;
}
#btnIniciarFacturacion .btnIniciarFacturacion-top{
top:0;
}
#btnIniciarFacturacion:hover .btnIniciarFacturacion-top{
top:-50px;
}
#btnIniciarFacturacion .btnIniciarFacturacion-bottom {
top:50px;
}
#btnIniciarFacturacion:hover .btnIniciarFacturacion-bottom {
top:0px;
}
</style>
<button class="" id="btnIniciarFacturacion">
<span class="btnIniciarFacturacion-top btnIniciarFacturacion-content" id="spanTotalFacturado"> TOTAL !@#</span>
<span class="btnIniciarFacturacion-bottom btnIniciarFacturacion-content">Iniciar Facturación</span>
</button>
#Btninicarfacturacion{
宽度:200px;
高度:30px;
}
#Btninicarfacturacion{
位置:相对位置;
-webkit转换:2s;
过渡:2s;
溢出:隐藏;
}
.BTNICIARFACTURACION内容{
位置:绝对位置;
左:0;
排名:0;
字体大小:20px;
字体大小:粗体;
}
#BTNICIARFACTURACION:悬停{
背景颜色:橙色;
}
#BTNICIARFACTURACION。BTNICIARFACTURACION顶部{
排名:0;
}
#BTNICIARFACTURACION:悬停。BTNICIARFACTURACION顶部{
顶部:-50px;
}
#BTNICIARFACTURACION。BTNICIARFACTURACION底部{
顶部:50px;
}
#BTNICIARFACTURACION:悬停。BTNICIARFACTURACION底部{
顶部:0px;
}
全部@#
伊尼亚尔工厂
您缺少跨度元素上的过渡样式:
.btnIniciarFacturacion-content {
position: absolute;
left:0;
top:0;
font-size: 20px;
font-weight: bolder;
transition: 2s;
}
缺少跨度元素上的过渡样式:
.btnIniciarFacturacion-content {
position: absolute;
left:0;
top:0;
font-size: 20px;
font-weight: bolder;
transition: 2s;
}
缺少跨度元素上的过渡样式:
.btnIniciarFacturacion-content {
position: absolute;
left:0;
top:0;
font-size: 20px;
font-weight: bolder;
transition: 2s;
}
缺少跨度元素上的过渡样式:
.btnIniciarFacturacion-content {
position: absolute;
left:0;
top:0;
font-size: 20px;
font-weight: bolder;
transition: 2s;
}
跨度之间的运动没有过渡。正如问题的标题所说,跨度之间的运动没有过渡。正如问题的标题所说,跨度之间的运动没有过渡。正如问题的标题所说,跨度之间的运动没有过渡。就像问题的标题所说的,哇,男人真是太棒了。问题解决了。我在想,这种转变只需要在纽扣上宣布就行了,因为男人们都很性感。问题解决了。我在想,这种转变只需要在纽扣上宣布就行了,因为男人们都很性感。问题解决了。我在想,这种转变只需要在纽扣上宣布就行了,因为男人们都很性感。问题解决了。我认为转换只需要在按钮上声明