A display panel and an electronic device are provided. The display panel includes a first display area and a second display area. The first display area includes a first liquid crystal layer and a driving circuit layer. The driving circuit layer includes a first driving unit group and a second driving unit. The first driving unit group is configured to drive the first liquid crystal layer. The second display area includes the second liquid crystal layer and the transparent connection layer, and the second driving unit group drives the second liquid crystal layer through the transparent connection layer, so to complete the display area of the display panel.