水平垂直居中 实现子元素的水平垂直居中 <!DOCTYPE html> <html> <title>水平垂直居中</title> <head> <style type="text/css"> .outer { height: 200px; width: 200px; background: tomato; margin: 10px; float: left; position: relative; } .inner { height: