css resource ensure