Preheat your oven to 350°F (175°C).
In a bowl, mix the crushed cornflakes or graham cracker crumbs, melted butter, and sugar until well combined.
Press the mixture firmly into the bottom of a lined and greased 9x13-inch baking dish.
Bake for 10 minutes, then remove from the oven and allow to cool slightly.