01 - Preheat oven to 350°F. Grease two 9x13-inch baking pans and line with parchment paper.
02 - Whisk flour, sugar, baking powder, baking soda, and salt in a large bowl until thoroughly blended.
03 - Whisk milk, vegetable oil, melted butter, eggs, and vanilla extract in a separate bowl until smooth.
04 - Pour wet ingredients into dry ingredients and mix until just combined. Avoid overmixing to prevent tough texture.
05 - Gently fold rainbow sprinkles into batter using a spatula until evenly distributed.
06 - Divide batter evenly between prepared pans and smooth tops with spatula.
07 - Bake for 30-35 minutes until toothpick inserted in center comes out clean.
08 - Let cakes cool in pans for 10 minutes, then transfer to wire racks to cool completely.
09 - Beat butter in stand mixer on medium speed until creamy, approximately 2 minutes.
10 - Gradually add powdered sugar, beating well after each addition. Mix in milk, vanilla, and salt. Beat on high speed until light and fluffy, about 3 minutes.
11 - Spread thick layer of buttercream over completely cooled cakes. Generously top with rainbow sprinkles.
12 - Cut into squares and serve immediately or store at room temperature.