unsplash source api

unsplash source api
source is built for use in small, low-traffic applications. for production uses, we recommend the official unsplash API which has more robust features and supports high-traffic use cases.

some example:

https://source.unsplash.com/1600x900/?developer

other example:


https://source.unsplash.com/random/1349x641


html example:


<html>

<head>
<style>
html,body{
    margin:0;
    height:100%;
}
img{
  display:block;
  width:100%; height:100%;
  object-fit: cover;
}
</style>
</head>
<body>
<img src="https://source.unsplash.com/random/1349x641">
</body>
</html>

note : more details over here https://source.unsplash.com/

Post a Comment

0 Comments