css - I am having a problem with the floating property.Both elements are floated right
问题描述
解决方案
Reverse the order of the elements in the HTML.
svg{ float: right; clear:right; height:55px; width:55px; }
button{ float:right; background-color: #155FCC; padding: 10px 25px; color:white; border-radius:20px; box-shadow: none; border: none; }
推荐阅读
- jquery - 如何将jquery ajax中多个字段的多个图像发布到laravel
- java - 在另一个类中创建一个类的对象,UML 类图中的关系是什么?
- matlab - 如何解决“在计算输出时更新持久变量或状态变量,因此它不能用于代数循环......”图表错误
- python - 当 Socket 从一个 Notebook 移动到另一个 Notebook 时,Gtk 会创建新的 XEMBED Socket
- ruby-on-rails - 如何使用 ougai logger 将日志级别从数字更改为日志名称
- oracle - 在 SQL 中按多列排序
- node.js - Heroku 日志中的“服务”时间是什么意思?
- r - 如何避免 shiny.router 更改我的闪亮仪表板(标题和侧边栏)的颜色?
- angular - Spring OKta 需要完全身份验证才能访问 Angular 7 中的登录页面
- c# - 需要从 LINQ 中的连接列中获取总和