There were no initial reports of casualties and it was not immediately clear what the targets of the airstrikes were.
In a statement on Sunday, the Israel Defense Forces confirmed that they had struck "terror infrastructure" targets in northern Gaza.
A Jihadist Salafi group which supports the Islamic State has taken responsibility for the rocket attack.
"The defense minister has instructed that the two crossings be closed. A decision to reopen the crossings will be made based on a situation assessment and in accordance with security considerations," the statement by the Israel Defense Forces said.
The statement came after at least one rocket fired from Gaza landed in an open area near Ashkelon, where residents said that they heard at least one explosion.