分别尝试使用Float、Position或者Flexbox来实现如下需求:

requirement 1: use float

left content
right content

requirement 1: use position

left content
right content

requirement 1: use flexbox

left content
right content

requirement 2: use float

left content
right content

requirement 2: use position

left content
right content

requirement 2: use flexbox

left content
right content

requirement 3: use float

right content
left content

requirement 3: use position

left content
right content

requirement 3: use flexbox

left content
right content

requirement 4: use float

left content
middle content
right content

requirement 4: use position

left content
middle content
right content

requirement 4: use flexbox

left content
middle content
right content

requirement 5: use float

left content
middle content
right content

requirement 5: use position

left content
middle content
right content

requirement 5: use flexbox

left content
middle content
right content